trigger_hurt
		
		
		
		Jump to navigation
		Jump to search
		
trigger_hurt  is a   brush entity  available in all 
 GoldSrc games. This entity hurts anyone in its area.
Key Values
- Target (target) <targetname>
 - The targetname of an entity this entity will trigger when activated.
 
- Name (targetname) <string>
 - The targetname that other entities refer to this entity by.
 
- Master (master) <targetname>
 - Name of a master entity. If the master hasn't been activated, this entity will not activate.
 
- Damage (dmg) <integer>
 
- Delay before trigger (delay) <string>
 - The time in seconds before the trigger should trigger its target (after being triggered itself).
 
- Death type (deathtype)  <string> (only in 
) 
- Damage Type (damagetype) <choices>
 - 
- 0: GENERIC
 - 1: CRUSH
 - 2: BULLET
 - 4: SLASH
 - 8: BURN
 - 16: FREEZE
 - 32: FALL
 - 64: BLAST
 - 128: CLUB
 - 256: SHOCK
 - 512: SONIC
 - 1024: ENERGYBEAM
 - 16384: DROWN
 - 32768: PARALYSE
 - 65536: NERVEGAS
 - 131072: POISON
 - 262144: RADIATION
 - 524288: DROWNRECOVER
 - 1048576: CHEMICAL
 - 2097152: SLOWBURN
 - 4194304: SLOWFREEZE
 
 
TFButtonCriteria:
- 0: Any
 - 1: Blue
 - 2: Red
 - 3: Yellow
 - 4: Green
 
- Targetname of teamcheck goal (teamcheck)  <string> (only in 
) 
- 0: Any
 - 1: Scout
 - 2: Sniper
 - 3: Soldier
 - 4: Demolitions man
 - 5: Medic
 - 6: Heavy Weapons Guy
 - 7: Pyro
 - 8: Spy
 - 9: Engineer
 
- Has item # (items_allowed)  <integer> (only in 
) - The player must be carrying this item to use this entity.
 
- Has item from group # (h_i_g)  <integer> (only in 
) - To use this entity, the player must be carrying any item from this group.
 
- Hasn't item from group # (hasnt_item_from_group)  <integer> (only in 
) - To use this entity, the player must not be carrying any item from this group.
 
- If item # has moved (if_item_has_moved)  <integer> (only in 
) - A player can only use the entity if this item is not in its original spawn location.
 
- If item # hasn't moved (if_item_hasnt_moved)  <integer> (only in 
) - A player can only use the entity if this item is in its original spawn location.
 
- If goal # active (if_goal_is_active)  <integer> (only in 
) - Players can only use the entity if this goal is in the active state.
 
- If goal # inactive (if_goal_is_inactive)  <integer> (only in 
) - Players can only use the entity if this goal is in the inactive state.
 
- If goal # removed (if_goal_is_removed)  <integer> (only in 
) - Players can only use the entity if this goal is in the removed state.
 
- If group # active (if_group_is_active)  <integer> (only in 
) - A player can only use the entity if all the goals in this group are in the active state.
 
- If group # inactive (if_group_is_inactive)  <integer> (only in 
) - A player can only use the entity if all the goals in this group are in the inactive state.
 
- If group # removed (if_group_is_removed)  <integer> (only in 
) - A player can only use the entity if all the goals in this group are in the removed state.
 
Flags
- Target Once : [1]
 
- Start Off : [2]
 
- No clients : [8]
 
- FireClientOnly : [16]
 
- TouchClientOnly : [32]