Template:KVIO ItemSE1

From Valve Developer Community
Jump to: navigation, search

Keyvalues

Name (targetname) <string>
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Outputs

OnPlayerTouch
Fires when the player touches this item. !activator is the player.
OnUse
Fired when the Use input is given.