Logic register activator: Difference between revisions
Jump to navigation
Jump to search
(Created page with '{{portal2 point|logic_register_activator}} ==Entity description== Stores an entity and sends messages with it as the activator. Useful for keeping track of entities with mangle…') |
m (Re-arranged some fields) |
||
Line 11: | Line 11: | ||
==Inputs== | ==Inputs== | ||
{{IO|Toggle|Toggle between enabled and disabled.}} | {{IO|Toggle|Toggle between enabled and disabled.}} | ||
{{IO|FireRegisteredAsActivator1|Start a message from this entity using the matching OnRegisteredActivating - but the activator is the registered entity.}} | {{IO|FireRegisteredAsActivator1|Start a message from this entity using the matching OnRegisteredActivating - but the activator is the registered entity.}} | ||
Line 19: | Line 17: | ||
{{IO|FireRegisteredAsActivator4|Start a message from this entity using the matching OnRegisteredActivating - but the activator is the registered entity.}} | {{IO|FireRegisteredAsActivator4|Start a message from this entity using the matching OnRegisteredActivating - but the activator is the registered entity.}} | ||
{{IO|RegisterEntity|Stores an entity to later be used as an activator.|param=string}} | {{IO|RegisterEntity|Stores an entity to later be used as an activator.|param=string}} | ||
{{I Targetname}} | |||
{{I EnableDisable}} | |||
==Outputs== | ==Outputs== | ||
{{IO|OnRegisteredActivate1|Fired to send a message using the registered as the activator.}} | {{IO|OnRegisteredActivate1|Fired to send a message using the registered as the activator.}} | ||
{{IO|OnRegisteredActivate2|Fired to send a message using the registered as the activator.}} | {{IO|OnRegisteredActivate2|Fired to send a message using the registered as the activator.}} | ||
{{IO|OnRegisteredActivate3|Fired to send a message using the registered as the activator.}} | {{IO|OnRegisteredActivate3|Fired to send a message using the registered as the activator.}} | ||
{{IO|OnRegisteredActivate4|Fired to send a message using the registered as the activator.}} | {{IO|OnRegisteredActivate4|Fired to send a message using the registered as the activator.}} | ||
{{O Targetname}} |
Revision as of 01:14, 13 May 2011
Entity description
Stores an entity and sends messages with it as the activator.
Useful for keeping track of entities with mangled names due to template spawners and instances.
Keyvalues
- 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
- Start Disabled (StartDisabled) <boolean>
- Stay dormant until activated (with the
Enable
input).
Inputs
- Toggle
- Toggle between enabled and disabled.
- FireRegisteredAsActivator1
- Start a message from this entity using the matching OnRegisteredActivating - but the activator is the registered entity.
- FireRegisteredAsActivator2
- Start a message from this entity using the matching OnRegisteredActivating - but the activator is the registered entity.
- FireRegisteredAsActivator3
- Start a message from this entity using the matching OnRegisteredActivating - but the activator is the registered entity.
- FireRegisteredAsActivator4
- Start a message from this entity using the matching OnRegisteredActivating - but the activator is the registered entity.
- RegisterEntity <string >
- Stores an entity to later be used as an activator.
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
Outputs
- OnRegisteredActivate1
- Fired to send a message using the registered as the activator.
- OnRegisteredActivate2
- Fired to send a message using the registered as the activator.
- OnRegisteredActivate3
- Fired to send a message using the registered as the activator.
- OnRegisteredActivate4
- Fired to send a message using the registered as the activator.