X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fcommon%2Ftriggers%2Ftriggers.qh;h=2b8274f4b890aa473b5432de2415bb1719e925a1;hp=82c0916c19228c2dd6605b24a6f503d6b3c07061;hb=d865de7a9a17c5a1d9286aec40f68c3530697660;hpb=fc15d72b041c9a748b605ba28735380fbe5b5b01 diff --git a/qcsrc/common/triggers/triggers.qh b/qcsrc/common/triggers/triggers.qh index 82c0916c19..2b8274f4b8 100644 --- a/qcsrc/common/triggers/triggers.qh +++ b/qcsrc/common/triggers/triggers.qh @@ -1,5 +1,4 @@ -#ifndef TRIGGERS_H -#define TRIGGERS_H +#pragma once const float SF_TRIGGER_INIT = 1; const float SF_TRIGGER_UPDATE = 2; @@ -28,8 +27,12 @@ string trigger_magicear_processmessage_forallears(entity source, float teamsay, void target_voicescript_next(entity pl); void target_voicescript_clear(entity pl); + +void SUB_UseTargets_PreventReuse(entity this, entity actor, entity trigger); #endif +.float sub_target_used; + .float volume, atten; .vector dest; @@ -50,5 +53,3 @@ const int ACTIVE_IDLE = 2; const int ACTIVE_BUSY = 2; const int ACTIVE_TOGGLE = 3; #endif - -#endif