6 .float antiwall_flag; // Variable to define what to do with func_clientwall
7 // 0 == do nothing, 1 == deactivate, 2 == activate
11 #define IFTARGETED if(this.targetname && this.targetname != "")
15 // used elsewhere (will fix)
17 void trigger_common_write(entity this, bool withtarget);
19 string trigger_magicear_processmessage_forallears(entity source, float teamsay, entity privatesay, string msgin);
21 void target_voicescript_next(entity pl);
22 void target_voicescript_clear(entity pl);
24 void SUB_DontUseTargets(entity this, entity actor, entity trigger);
25 void SUB_UseTargets(entity this, entity actor, entity trigger);
27 void SUB_UseTargets_PreventReuse(entity this, entity actor, entity trigger);
29 // allow excluding certain .target* fields without needing to nullify them
30 // use BIT(1) through BIT(4)
31 void SUB_UseTargets_SkipTargets(entity this, entity actor, entity trigger, int skiptargets);
33 void generic_setactive(entity this, int act);
34 // generic methods for netlinked entities
35 void generic_netlinked_reset(entity this);
36 void generic_netlinked_setactive(entity this, int act);
37 // WARNING: DON'T USE, ONLY TO KEEP COMPATIBILITY BECAUSE OF SWITCH FROM .state TO .alive!!!!
38 void generic_netlinked_legacy_use(entity this, entity actor, entity trigger);
41 .float sub_target_used;
48 void trigger_common_read(entity this, bool withtarget);
49 void trigger_remove_generic(entity this);