CWorldItem (CS)
(Redirected from CWorldItem Offset List (Counter-Strike))
Contents
Basic Information
- Classname: CWorldItem.
- Linked Entity: world_items.
- Description: This entity allows you to spawn various items. Its function was replaced by the individual item_ entities, so it's not normally used.
Class Hierarchy
- CBaseEntity
- CWorldItem (world_items)
HLSDK Reference
- items.cpp (line 64)
Entity Properties
W = Windows | L = Linux
Name | W. Offset | L. Offset | L. Diff | Type | Description |
---|---|---|---|---|---|
m_iType | 34 ? | 39 | +5 | int | 42 = Antidote 43 = Security Card 44 = Battery 45 = Suit |
Entity Attributes
- Name (targetname) - Property used to identify entities.
- Pitch Yaw Roll (angles) - Sets the pitch (up / down), yaw (left / right) and roll (bank) respectively. The compass in WorldCraft / Hammer corresponds to Yaw. The settings are not always (or not all) used.
- Target (target) - When an entity is activated, it triggers the entity with the name specified by Target.
- Delay before trigger (delay) - Usually the time in seconds before an entity should trigger its target (after being triggered itself). Under other SmartEdit names, delay might also be the time to wait before performing some other action.
- KillTarget (killtarget) - When an entity is triggered, it will remove from the game the entity specified by this property.
- Types (type) - World item to spawn:
- 42 = Antidote
- 43 = Security Card
- 44 = Battery
- 45 = Suit
Entity Flags
None.
Notes
None.
( source : TWHL )