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.
When the Use Only flag is disabled, when a player spawns they will receive equipment from this entity. All game_player_equip entities with that flag disabled will give equipment.
When the flag is enabled, only the player that triggers the entity will receive equipment, and only on trigger, not on spawn.
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. If not specified, any player can be 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.
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.