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) mNo edit summary |
(Category and templates) |
||
Line 1: | Line 1: | ||
{{ScrollBox|title=TriggerOnce| | {{ScrollBox|title=TriggerOnce| | ||
{{KV|Filter Name|filterclass|Filter to use to see if activator triggers me. See [[filter_activator_name]] for details.}} | |||
{{KV Targetname}} | |||
{{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?-->}} | |||
{{KV Origin}} | {{KV Origin}} | ||
{{KV EnableDisable}} | {{KV EnableDisable}} | ||
{{KV Global}} | {{KV Global}} | ||
}}<noinclude> | |||
[[Category:Keyvalue Templates|TriggerOnce]] | |||
</noinclude> |
Revision as of 23:53, 9 June 2011
TriggerOnce:
- Filter Name ([todo internal name (i)]) <filter>
- Filter to use to see if activator triggers me. See filter_activator_name for details.
- 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
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.
Warning:In
, parenting this entity to another can break your map.

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).
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.