2 /*QUAKED spawnfunc_trigger_flipflop (.5 .5 .5) (-8 -8 -8) (8 8 8) START_ENABLED
3 "Flip-flop" trigger gate... lets only every second trigger event through
7 self.state = !self.state;
12 void _spawnfunc_trigger_flipflop();
13 spawnfunc(trigger_flipflop)
15 if(self.spawnflags & 1)
17 self.use = flipflop_use;
18 self.reset = _spawnfunc_trigger_flipflop; // perfect resetter
20 void _spawnfunc_trigger_flipflop() { SELFPARAM(); spawnfunc_trigger_flipflop(this); }