Trigger hurt

Trigger hurt

Classnames: trigger_hurt
Purpose: Death from unnatural causes
H2 Code: triggers.hc
Damage is inflicted when player touches invisible brush.

Fields

dmg Value is a number, damage per second. 5 seems to be the minimum, default=15.
level (PoP only) Value is a number, minimum health to leave player with
wait (PoP only)Value is a number, time between inflictions, default = 1.
spawnflags (PoP only)
  • 1 = PLAYER_ONLY
  • 2 = MONSTER_ONLY
  • 8 = INACTIVE (requires activation)

Back to the list.