Template:KV TriggerOnce: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(noscroll)
mNo edit summary
Line 4: Line 4:
{{KV Origin}}
{{KV Origin}}
{{KV EnableDisable}}
{{KV EnableDisable}}
{{KV Parentname}}
{{KV Parentname with warning}}
{{note|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.<!-- what does that mean?-->}}
{{note|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.<!-- what does that mean?-->}}
{{KV Global}}
{{KV Global}}
{{KV Targetname}}
{{KV Targetname}}
}}
}}

Revision as of 13:50, 17 September 2009

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