World items (GoldSrc): Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
SirYodaJedi (talk | contribs) (Also obsolete in goldsus; the individual item_ ents have the same capabilities.) |
||
| Line 1: | Line 1: | ||
{{TabsBar|main=World items}} | {{TabsBar|main=World items}} | ||
{{CD|CWorldItem|goldsrc=1}} | {{CD|CWorldItem|goldsrc=1}} | ||
{{obsolete|replacement=the individual {{mono|item_}} entities, namely {{ent|item_antidote|engine=goldsrc}}, {{ent|item_security|engine=goldsrc}}, {{ent|item_battery|engine=goldsrc}}, and {{ent|item_suit|engine=goldsrc}}.}} | |||
{{this is a|point entity|name=world_items|engine=GoldSrc|game=Half-Life}} | {{this is a|point entity|name=world_items|engine=GoldSrc|game=Half-Life}} | ||
| Line 13: | Line 14: | ||
! # !! Name | ! # !! Name | ||
|- | |- | ||
| 42 || | | 42 || [[item_antidote (GoldSrc)|item_antidote]] | ||
|- | |- | ||
| 43 || | | 43 || [[item_security (GoldSrc)|item_security]] | ||
|- | |- | ||
| 44 || | | 44 || [[item_battery (GoldSrc)|item_battery]] | ||
|- | |- | ||
| 45|| | | 45 || [[item_suit (GoldSrc)|item_suit]] | ||
|} | |} | ||
{{Hl1_kv_weapon}} | {{Hl1_kv_weapon}} | ||
[[Category:Entities]] | [[Category:Entities]] | ||
Revision as of 09:45, 12 May 2025
| CWorldItem |
This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches.
It has since been deprecated by: the individual item_ entities, namely item_antidote, item_security, item_battery, and item_suit..
It has since been deprecated by: the individual item_ entities, namely item_antidote, item_security, item_battery, and item_suit..
world_items is a point entity available in
Half-Life.
Description
This entity spawns a specific item at its location.
It gives four types of items: Antidote, Security Card, Battery and Suit.
Key Values
- Target (target) <targetname>
- The targetname of an entity this entity will trigger when activated.
- Delay before trigger (delay) <integer>
- Delay in seconds before firing the targeted entity.
- Killtarget (killtarget) <targetname>
- Entity to remove when activated.
- Types (type) <choices>
# Name 42 item_antidote 43 item_security 44 item_battery 45 item_suit
- Name (targetname) <string>
- The targetname that other entities refer to this entity by.
- Pitch Yaw Roll (Y Z X) (angles) <QAngle>
- This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
Flags
- Not In Deathmatch : [2048]
- Prevent this entity from attempting to spawn when
deathmatch(multiplayer) is enabled.