2 void trigger_disablerelay_use()
9 for(e = world; (e = find(e, targetname, self.target)); )
11 if(e.use == SUB_UseTargets)
13 e.use = SUB_DontUseTargets;
16 else if(e.use == SUB_DontUseTargets)
18 e.use = SUB_UseTargets;
24 LOG_INFO("Invalid use of trigger_disablerelay: ", ftos(a), " relays were on, ", ftos(b), " relays were off!\n");
27 void spawnfunc_trigger_disablerelay()
29 self.use = trigger_disablerelay_use;