game_player_equip (Half-Life) Last edited 15 years ago2008-11-15 01:01:22 UTC

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

  1. The formatting may be incorrect due to differences in the WikiCode processing engine, it needs to be revised and reformatted
  2. Some information may be out of date
  3. After the article is re-formatted and updated, remove this notice and the Review Required category.
  4. 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 Entity

This entity allows you to equip a player with specific items when they join a game or at some time during gameplay.

Attributes

Flags

Notes

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

Commented 1 year ago2023-02-26 16:41:24 UTC Comment #105134
use name game_playerspawn to automatically trigger this entity at the start of the map.
Commented 1 year ago2023-07-30 05:16:07 UTC Comment #105448
@kimilil game_playerspawn is not present in vanilla.
Commented 1 year ago2023-11-01 08:48:00 UTC Comment #105613
^ idk what you mean. if you think i meant the classname (things JACK lists) then that's incorrect. I mean 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 a game_text entity with the name game_playerspawn you'll see the game_text 's text when you spawn.

also, game_* entities in general are added sometime after retail release so this entity, and the game engine firing game_playerspawn would be absent on early WON versions or earlier SDKs.

You must log in to post a comment. You can login or register a new account.