game_player_equip

From Valve Developer Community
Revision as of 08:40, 13 February 2024 by N0one (talk | contribs) (Created page with "{{This is a|name=game_player_equip|e0|engine=1}} This entity allows you to provide the player with specific items when it is triggered. In deathmatch games, this entity can al...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

game_player_equip is an e0 available in all Template:1 games.Template:1 topicon

Warning.pngWarning:
  • 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.

This entity allows you to provide the player with specific items when it is triggered. In deathmatch games, this entity can also be used to give items to players upon spawning.

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.

Flags

Use Only : [1]
If enabled, only triggering the game_player_equip will cause it to dispense items. This will prevent items being given upon spawning in a deathmatch game. Only the player who caused the trigger will receive items.