Half-Life Entity Tutorials
Update:
May 27, 2000
Visit another trigger_* Entity Tutorial
trigger_camera
trigger_hurt
trigger_multiple
trigger_once
trigger_push
trigger_hurt - by
Tiger
Trigger_Hurt
Description
This entity will inflict damage, what type depends on what you set damagetype to, to all monsters or players when they come in contact with it.
Key
Value
Action
Description
targetname
string
name
It's the name so that other entities can target it
target
string
target
You can target another entity when the trigger_hurt will be activated
master
string
targetname of multisource entity
You can target more events by using a multisource entity
dmg
integer
damage per 1/2 second of contact
That's the value of damage the player will get
delay
integer
delay before trigger
Time to wait before the damage will cause
damagetype
0
generic
The shown damage type
1
crush
The shown damage type
2
bullet
The shown damage type
4
slash
The shown damage type
8
burn
The shown damage type
16
freeze
The shown damage type
32
fall
The shown damage type
64
blast
The shown damage type
128
club
The shown damage type
256
shock
The shown damage type
512
sonic
The shown damage type
1024
energy beam
The shown damage type
16384
drown
The shown damage type
32768
paralyse
The shown damage type
65536
nerve gass
Will do damage to the player even after they leave the trigger area for a short period of time
131072
poison
Will do damage to the player even after they leave the trigger area for a short period of time
262144
radiation
Will do damage to the player even after they leave the trigger area for a short period of time
524288
drown (recover)
The shown damage type
1048576
chemical
Will do damage to the player even after they leave the trigger area for a short period of time
2097152
slow burn
Will do damage to the player even after they leave the trigger area for a short period of time
4194304
slow freeze
Will do damage to the player even after they leave the trigger area for a short period of time
spawnflags
1
target once
2
start off
must be triggered before it will harm player
8
no clients
16
fire client only
32
touch client only
Using Possibilities
You can use for example to make steam cause damage like shown in this
tutorial
.