Template:KV TriggerOnce: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{ScrollBox|title=TriggerOnce|noscroll=true|
{{ScrollBox|title=TriggerOnce|
; Filter Name <code><[[targetname]]></code>
; Filter Name <code><[[targetname]]></code>
: Filter to use to see if activator triggers me. See [[filter_activator_name]] for details.
: Filter to use to see if activator triggers me. See [[filter_activator_name]] for details.

Revision as of 14:45, 25 May 2011

TriggerOnce:
Filter Name <targetname>
Filter to use to see if activator triggers me. See filter_activator_name for details.

Origin:

Origin (X Y Z) (origin) <origin>
The position of this entity's center in the world. Rotating entities typically rotate around their origin.
Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).
Parentname:
Parent (parentname) <targetname>
Specifies a movement parent. An entity will maintain its initial offset from its parent. An attachment point can be added to the end of the name, separated by a comma.
Note.pngNote:If a trigger does not start out with a parent, but rather gets one during run-time, this value should be set to a static entity. This is so the entity's solidity is set to VPhysics rather than BSP.
Global:
Global Entity Name (globalname) <string>
Name by which this entity is linked to another entity in a different map. When the player transitions to a new map, entities in the new map with globalnames matching entities in the previous map will have the previous map's state copied over their state.
Name (targetname) <string>[ Edit ]
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