Game player equip (GoldSrc): Difference between revisions
Jump to navigation
Jump to search

No edit summary |
|||
Line 6: | Line 6: | ||
==Key Values== | ==Key Values== | ||
{{Hl1_kv_targetname}} | {{Hl1_kv_targetname}} | ||
:{{tip|Might be useful with [[Targetname#Player Events]]}} | |||
{{hl1 kv master}} | {{hl1 kv master}} | ||
{{kv|<any classname>|intn=0|int|The key is the item the player should be equipped with and the value is the amount. (smart-edit needs to be turned off for this) | {{kv|<any classname>|intn=0|int|The key is the item the player should be equipped with and the value is the amount. (smart-edit needs to be turned off for this) |
Revision as of 06:52, 6 October 2024


![]() |
---|
CGamePlayerEquip |
![]() |
game_player_equip
is a point entity available in all 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.
Tip:Might be useful with Targetname#Player Events
- Master (master) <targetname>
- Name of a master entity. If the master hasn't been activated, this entity will not activate.
- <any classname> <integer>
- The key is the item the player should be equipped with and the value is the amount. (smart-edit needs to be turned off for this)
|
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.