Go to the source code of this file.
◆ CENVGLOBAL_CVAR
#define CENVGLOBAL_CVAR "env_global_data" |
◆ globalstate_t
◆ triggermode_t
The type of trigger activation.
Used by trigger_auto and trigger_relay to specifically trigger states. TRIG_TOGGLE is the safe option, as it'll cause something to happen either way. The way an entity responds to the described state is up to how it is programmed. Many entities do not react to a change in state at all.
Enumerator |
---|
TRIG_OFF | Trigger the target 'off', for doors that may tell them to close.
|
TRIG_ON | Trigger the target 'on', for doors that may tell them to open.
|
TRIG_TOGGLE | Trigger the target the opposite to whatever they're currently in.
|
◆ enumflags
Initial value:{
TOUCHFILTER_CLIENTS,
TOUCHFILTER_NPCS,
TOUCHFILTER_PUSHABLE,
TOUCHFILTER_PHYSICS,
TOUCHFILTER_FRIENDLIES,
TOUCHFILTER_CLIENTSINVEHICLES,
TOUCHFILTER_EVERYTHING,
TOUCHFILTER_PADDING1,
TOUCHFILTER_PADDING2,
TOUCHFILTER_CLIENTSNOTINVEHICLES,
TOUCHFILTER_DEBRIS,
TOUCHFILTER_NPCSINVEHICLES,
TOUCHFILTER_NOBOTS
}