3 /*QUAKED spawnfunc_trigger_flipflop (.5 .5 .5) (-8 -8 -8) (8 8 8) START_ENABLED
4 "Flip-flop" trigger gate... lets only every second trigger event through
6 void flipflop_use(entity this, entity actor, entity trigger)
8 this.state = !this.state;
10 SUB_UseTargets(this, actor, trigger);
13 spawnfunc(trigger_flipflop)
15 if(this.spawnflags & START_ENABLED)
19 this.use = flipflop_use;
20 this.reset = spawnfunc_trigger_flipflop; // perfect resetter