Trigger entities

trigger_always


Map Entity Color: (.5 .5 .5) (COLOR PREVIEW)
Dimensions: (-8 -8 -8) (8 8 8)
This trigger will always fire. It is activated by the world.
Keys
targetEntity to trigger

trigger_counter


Map Entity Color: (.5 .5 .5) (COLOR PREVIEW)
Dimensions: Size of map components used
Acts as an intermediary for an action that takes multiple inputs. If the cvar 'developer' is '1' and 'nomessage' is unset, each time this entity is triggered, the message "X more to go..." will appear (and "Armageddon virus installed successfully" when the sequence is completed).
Spawnflags
1NOMESSAGEDisable messages display when triggered.
Keys
killtargetID of the entity to delete when triggered
countNumber of times this trigger must be activated before triggering its targets (default=2)
targetnameThis entity's ID
targetEntity to trigger

trigger_elevator


Map Entity Color: (0.3 0.1 0.6) (COLOR PREVIEW)
Dimensions: (-8 -8 -8) (8 8 8)
Code leftovers from Q2, train manager (gives a 'func_train' a new 'pathtarget' inherited from the activator entity).
Keys
targetnameThis entity's ID
targetfunc_train's ID

trigger_gravity


Map Entity Color: (.5 .5 .5) (COLOR PREVIEW)
Dimensions: Size of map components used
Code leftovers from Q2, changes the touching entities gravity.
Keys
gravityGravity factor (default=1.0)

trigger_hurt


Map Entity Color: (.5 .5 .5) (COLOR PREVIEW)
Dimensions: Size of map components used
Any entity taking damage touching this trigger will loose 'dmg' health points each server frame (or every second if SLOW spawnflag is set).
Spawnflags
1START_OFFSet default state to OFF.
2TOGGLEMaintain state, switch only when triggered.
4SILENTNo sound emitted in action.
8NO_PROTECTIONArmor is not taken in account when inflicting damage.
16SLOWSlow...
Keys
dmgDamages inflicted when touched (default=5)

trigger_hurt_electric


Map Entity Color: (.5 .5 .5) (COLOR PREVIEW)
Dimensions: Size of map components used
Any entity taking damage touching this trigger will be electrocuted and loose 'dmg' health points each server frame (or every second if SLOW spawnflag is set).
Spawnflags
1START_OFFSet default state to OFF.
2TOGGLEMaintain state, switch only when triggered.
4SILENTNo sound emitted in action.
8NO_PROTECTIONArmor is not taken in account when inflicting damage.
16SLOWSlow...
Keys
dmgDamages inflicted when touched (default=5)

trigger_hurt_fire


Map Entity Color: (.5 .5 .5) (COLOR PREVIEW)
Dimensions: Size of map components used
Any entity taking damage touching this trigger will burn and loose 'dmg' health points each server frame (or every second if SLOW spawnflag is set).
Spawnflags
1START_OFFSet default state to OFF.
2TOGGLEMaintain state, switch only when triggered.
4SILENTNo sound emitted in action.
8NO_PROTECTIONArmor is not taken in account when inflicting damage.
16SLOWSlow...
Keys
dmgDamages inflicted when touched (default=5)

trigger_key


Map Entity Color: (.5 .5 .5) (COLOR PREVIEW)
Dimensions: (-8 -8 -8) (8 8 8)
A relay trigger that only fires it's targets if player has the proper key.
Keys
targetTargeted entity's ID
targetnameThis entity's ID
itemItem required (pickup name)

trigger_monsterjump


Map Entity Color: (.5 .5 .5) (COLOR PREVIEW)
Dimensions: Size of map components used
Walking monsters that touch this entity will jump in the direction of the trigger's angle.
Keys
angleThrown direction
speedSpeed thrown forward (default=200)
heightSpeed thrown upwards (default=200)

trigger_multiple


Map Entity Color: (.5 .5 .5) (COLOR PREVIEW)
Dimensions: Size of map components used
Repeatable trigger. Must be targeted at one or more entities.
Spawnflags
1MONSTERMonsters can trigger this entity.
2NOT_PLAYERPlayer cannot trigger this entity.
4TRIGGEREDMust be triggered before use.
16TRIGGERED_TOGGLEAllow a trigger to be toggled on and off, can't be used as a relay (SPMod only).
Keys
targetTarget entity ID
targetnameThis entity's ID
killtargetID of the entity to delete when triggered
waitSeconds between triggerings (default=.2)
delayWait before triggering targeted entities
messageString to be displayed when triggered
soundsSound emitted on trigger -- 0=silent, 1=secret.wav, 2=talk.Wav, 3=trigger1.wav (default=0)

trigger_once


Map Entity Color: (.5 .5 .5) (COLOR PREVIEW)
Dimensions: Size of map components used
Triggers once, then removes itself. You must set the key 'target' to the name of another object in the level that has a matching 'targetname'. If TRIGGERED is set, this trigger must be triggered before it is live.
Spawnflags
1MONSTERMonsters can trigger this entity.
2NOT_PLAYERPlayer cannot trigger this entity.
4TRIGGEREDMust be triggered before use.
8SCENERIC
16TRIGGERED_TOGGLEAllow a trigger to be toggled on and off, can't be used as a relay (SPMod only).
Keys
targetTarget entity ID
targetnameThis entity's ID
killtargetID of the entity to delete when triggered
delayWait before triggering targeted entities
messageString to be displayed when triggered
soundsSound emitted on trigger -- 0=silent, 1=secret.wav, 2=talk.Wav, 3=trigger1.wav (default=0)

trigger_push


Map Entity Color: (.5 .5 .5) (COLOR PREVIEW)
Dimensions: Size of map components used
Pushes the player.
Spawnflags
1PUSH_ONCEPush once only.
Keys
anglePush direction
speedPush speed (default=1000)

trigger_relay


Map Entity Color: (.5 .5 .5) (COLOR PREVIEW)
Dimensions: (-8 -8 -8) (8 8 8)
This fixed size trigger cannot be touched, it can only be fired by other events.
Keys
delayTime in seconds before triggering the target
targetnameThis entity's ID
targetTarget entity
killtargetID of the entity to delete when triggered
randomSPMod only, chances for the trigger to succeed (100=always succeed, 0=always fail)

trigger_unlock


Map Entity Color: (.5 .5 .5) (COLOR PREVIEW)
Dimensions: Size of map components used
Player will unlock a targeted door when this brush is touched, can also be triggered (door's 'key' must be '-1').
Keys
targetnameThis entity's ID
targetTarget ID to match door