game_player_equip (Half-Life)
Last edited 6 years ago2018-07-29 08:01:08 UTC
- Wiki
- View Page
-
You are viewing an older revision of this wiki page. The current revision may be more detailed and up-to-date.
Click here to see the current revision of this page.
This article was converted from a previous version of TWHL and may need to be reviewed
- The formatting may be incorrect due to differences in the WikiCode processing engine, it needs to be revised and reformatted
- Some information may be out of date
- After the article is re-formatted and updated, remove this notice and the Review Required category.
- Some older articles are no longer useful, or they duplicate information from other pages. In this case, delete the page after merging any relevant information into other pages. Contact an admin to delete a page.
Point EntityThis entity allows you to equip a player with specific items when they join a game or at some time during gameplay.
Attributes
- Name (targetname) - Property used to identify entities.
- Team Master (master) - The name of a game_team_master can go here so that you can control which team is equipped.
Flags
- Use Only (1) - Entity can only be activated by triggering it. The player that started the trigger chain will receive the equipment
Notes
- To actually specify what you want to be equipped, turn off SmartEdit mode and click Add. The item's name is the key, and the value is the number of items to be given to the player.
For example, a key of 'weapon_rpg' with a value of '3' will equip the player with 3 rockets. Use item_battery for armour and item_healthkit for health. Note that health and armour cannot exceed the normal maximum of 100 each.
3 Comments
You must log in to post a comment.
You can login or register a new account.
game_playerspawn
to automatically trigger this entity at the start of the map.game_playerspawn
is the targetname you assign to this entity, or any other entity of any classname.the game fires entities of the name
game_playerspawn
on your behalf every time you spawn in a map. another example is if you have agame_text
entity with the namegame_playerspawn
you'll see thegame_text
's text when you spawn.also,
game_*
entities in general are added sometime after retail release so this entity, and the game engine firinggame_playerspawn
would be absent on early WON versions or earlier SDKs.