Template:KVIO ItemSE1
Jump to navigation
Jump to search
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- 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.
Shadow:
- Disable shadows (disableshadows) ([todo internal name (i)]) <boolean>
- Prevent the entity from creating cheap render-to-texture shadows. Does not affect shadow mapping.
Inputs
Base:
- AddOutput <string>
- Evaluates a keyvalue/output on this entity.
Format:<key> <value>
Format:<output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire, -1 means infinite>
- FireUser1 to FireUser4
- Fire the
OnUser
outputs; see User Inputs and Outputs.
- Kill
- Removes this entity and any entities parented to it from the world.
- KillHierarchy
- Functions the same as
Kill
, although this entity and any entities parented to it are killed on the same frame, being marginally faster thanKill
.
- EnableShadow
- Allows the entity to draw a render target shadow.
- DisableShadow
- Prevents the entity from drawing a render target shadow.
Outputs
Item:
- OnPlayerTouch
- Fires when the player touches this item. !activator is the player.
- OnUse
- Fired when the
Use
input is given.