trigger_hurt
|
Keys
dmg
|
Damage caused, default 5
|
life
|
Time this brush will exist for. If value is 0 will live for ever, default 0.
|
scriptname
|
object's scriptname
|
target
|
(If you see doubled target keys, this was done for future coding reasons)
|
target
|
to target
|
targetname
|
(If you see doubled target keys, this was done for future coding reasons)
|
targetname
|
targeted by
|
|
Spawnflags
NO_PROTECTION
|
*nothing* stops the damage
|
ONCE
|
Turns the trigger off after being fired.
|
SILENT
|
Suppresses playing the sound
|
SLOW
|
Changes the damage rate to once per second
|
START_OFF
|
Has no effect until turned on.
|
|
Any entity that touches this will be hurt.
It does dmg points of damage each server frame.
Targeting the trigger will toggle its on / off state.
The entity must be used first before it will count down its life.
|