game_player_hurt

From Sven Co-op
Revision as of 23:29, 27 January 2019 by GeckonCZ (talk | contribs) (Import of converted entguide pages from Sven Manor.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
game_player_hurt
Type

point

Status

supported

 


Point entity which will apply damage to its activator. For a more feature-rich version see trigger_hurt_remote.

1 Keyvalues

Damage to apply : dmg

Set how much damage to apply. Can kill the activator. Can be negative, but won't heal above 100, except starthealth is greater than that.

2 Flags

1 : Remove on fire

The game_player_hurt is removed from the game after being used once.

3 Notes

Unlike other entities, game_player_hurt sends the same output type as received, instead of 'Toggle'.