Template:KV TriggerOnce: Difference between revisions
Jump to navigation
Jump to search
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.
TomEdwards (talk | contribs) (Undo revision 122284 by Yar Kramer (Talk)) |
TomEdwards (talk | contribs) (noscroll) |
||
Line 1: | Line 1: | ||
{{ScrollBox|title=TriggerOnce| | {{ScrollBox|title=TriggerOnce|noscroll=true| | ||
; Filter Name <code><[[targetname]]></code> | ; Filter Name <code><[[targetname]]></code> | ||
: Filter to use to see if activator triggers me. See | : Filter to use to see if activator triggers me. See [[filter_activator_name]] for details. | ||
{{KV Origin}} | {{KV Origin}} | ||
{{KV EnableDisable}} | {{KV EnableDisable}} | ||
{{KV Parentname}} | {{KV Parentname}} | ||
{{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.}} | {{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 14:20, 22 July 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 the
Enable
input).
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.

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
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities