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

Game player equip (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(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...")
 
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
Line 1: Line 1:
{{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 also be used to give items to players upon spawning.
{{this is a|point entity|name=game_player_equip|engine=GoldSrc}} 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==
==Key Values==

Revision as of 21:09, 17 May 2024

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.