Game player hurt (GoldSrc): Difference between revisions
Jump to navigation
Jump to search
Warning:
(Created page with "{{This is a|name=game_player_hurt |e0|engine=1}} he game_player_hurt entity can be used to inflict a set amount of damage to a player. Similar to a trigger_hurt (GoldSrc)|tr...") |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{This is a|name=game_player_hurt |e0|engine=1}} | {{This is a|name=game_player_hurt |e0|engine=1}} The game_player_hurt entity can be used to inflict a set amount of damage to a player. Similar to a [[trigger_hurt (GoldSrc)|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. | ||
==Key Values== | ==Key Values== |
Revision as of 09:18, 21 February 2024
game_player_hurt
is an e0 available in all Template:1 games.Template:1 topicon

- The {{{engine}}} parameter is inconsistent with the name defined by the {{1}} template.
If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk 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.
Key Values
- Name (targetname) <string>
- The targetname that other entities refer to this entity by.
- Master (master) <targetname>
- Name of a master entity. If the master hasn't been activated, this entity will not activate.
- Damage To Apply (dmg) <string>
Flags
- Remove On fire : [1]
- If enabled, the entity will be removed after being triggered.