4 const float SF_TRIGGER_INIT = 1;
5 const float SF_TRIGGER_UPDATE = 2;
6 const float SF_TRIGGER_RESET = 4;
8 const float SPAWNFLAG_NOMESSAGE = 1;
9 const float SPAWNFLAG_NOTOUCH = 1;
11 .void() trigger_touch;
16 #define IFTARGETED if(!self.nottargeted && self.targetname != "")
19 .float bgmscriptattack;
20 .float bgmscriptdecay;
21 .float bgmscriptsustain;
22 .float bgmscriptrelease;
26 void trigger_setnextthink(entity e, float dtime);
28 // used elsewhere (will fix)
30 void trigger_common_write(bool withtarget);
32 void spawnfunc_trigger_once();
33 string trigger_magicear_processmessage_forallears(entity source, float teamsay, entity privatesay, string msgin);
35 void target_voicescript_next(entity pl);
36 void target_voicescript_clear(entity pl);
44 void trigger_common_read(bool withtarget);
45 void trigger_remove_generic();
47 float WarpZoneLib_ExactTrigger_Touch();
48 #define EXACTTRIGGER_TOUCH if(WarpZoneLib_ExactTrigger_Touch()) return
54 const int ACTIVE_NOT = 0;
55 const int ACTIVE_ACTIVE = 1;
56 const int ACTIVE_IDLE = 2;
57 const int ACTIVE_BUSY = 2;
58 const int ACTIVE_TOGGLE = 3;