X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Ftriggers%2Ftriggers.qh;h=474f797afea7ad67e1611b8c12644f836ab0af1d;hb=99c1b6ca80a69e112d410ee493d62f757b2c6df8;hp=20e9369d20d2fe16f49f21fb47edb937c282186e;hpb=cf55d14195d9f1737f4fa5cb3b18628808d1b46f;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/triggers/triggers.qh b/qcsrc/common/triggers/triggers.qh index 20e9369d2..474f797af 100644 --- a/qcsrc/common/triggers/triggers.qh +++ b/qcsrc/common/triggers/triggers.qh @@ -10,24 +10,20 @@ const float SPAWNFLAG_NOTOUCH = 1; .void() trigger_touch; +.float antiwall_flag; // Variable to define what to do with func_clientwall +// 0 == do nothing, 1 == deactivate, 2 == activate + .float height; .float nottargeted; #define IFTARGETED if(!self.nottargeted && self.targetname != "") -.string bgmscript; -.float bgmscriptattack; -.float bgmscriptdecay; -.float bgmscriptsustain; -.float bgmscriptrelease; - .float lip; -void trigger_setnextthink(entity e, float dtime); - // used elsewhere (will fix) #ifdef SVQC -void spawnfunc_trigger_once(); +void trigger_common_write(bool withtarget); + string trigger_magicear_processmessage_forallears(entity source, float teamsay, entity privatesay, string msgin); void target_voicescript_next(entity pl); @@ -39,8 +35,8 @@ void target_voicescript_clear(entity pl); .vector dest; #ifdef CSQC -float WarpZoneLib_ExactTrigger_Touch(); -#define EXACTTRIGGER_TOUCH if(WarpZoneLib_ExactTrigger_Touch()) return +void trigger_common_read(bool withtarget); +void trigger_remove_generic(); .float active; .string target;