game_player_hurt
Last edited 5 years ago2019-05-30 01:50:13 UTC
- Wiki
- View Page
-
You are viewing an older revision of this wiki page. The current revision may be more detailed and up-to-date.
Click here to see the current revision of this page.
The game_player_hurt entity can be used to inflict a set amount of damage to a player. Similar to a
trigger_hurt, however this entity does not require the player to be in a particular location to take the damage. It also lacks some of the more specific options that a trigger_hurt has.
Attributes
- Name (targetname) - Name is a general attribute used to identify entities.
- Damage To Apply (dmg) - Sets the amount of damage to apply to the player that activated the entity. A negative value will heal the player.
- Master (master) - Sets an entity to be used as a master (usually a multisource). The master entity must be active in order for the game_end to be triggered.
Flags
- Remove On fire (1) - If enabled, the entity will be removed after being triggered.
Notes
- The damage given by this entity is of a generic type. See trigger_hurt for information on damage types.
Comments
You must log in to post a comment.
You can login or register a new account.