entityguide‎ > ‎

game_player_hurt

Point entity which will apply damage to its activator. For a more feature-rich version see trigger_hurt_remote.
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.


Flags


1
: "Remove on fire": The game_player_hurt is removed from the game after being used once.

Notes

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


    Comments