This article's documentation is for the "GoldSrc" engine. Click here for more information.

game_player_equip

From Valve Developer Community
Revision as of 05:11, 6 October 2024 by Nescius (talk | contribs) (-added class hierarchy)
Jump to navigation Jump to search
English (en)Translate (Translate)
C++ Class hierarchy
CGamePlayerEquip
CRulePointEntity
CRuleEntity
CBaseEntity
C++ maprules.cpp

game_player_equip is a point entity available in all GoldSrc GoldSrc games. 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.