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

game_player_equip

From Valve Developer Community
Revision as of 21:09, 17 May 2024 by PeeBot (talk | contribs) (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
Jump to navigation Jump to search

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.