2 /*QUAKED spawnfunc_trigger_monoflop (.5 .5 .5) (-8 -8 -8) (8 8 8)
3 "Mono-flop" trigger gate... turns one trigger event into one "on" and one "off" event, separated by a delay of "wait"
7 self.nextthink = time + self.wait;
8 self.enemy = activator;
14 void monoflop_fixed_use()
18 self.nextthink = time + self.wait;
20 self.enemy = activator;
27 activator = self.enemy;
37 spawnfunc(trigger_monoflop)
41 if(self.spawnflags & 1)
42 self.use = monoflop_fixed_use;
44 self.use = monoflop_use;
45 self.think = monoflop_think;
47 self.reset = monoflop_reset;