Logic register activator

From Valve Developer Community
Revision as of 01:14, 13 May 2011 by Barracuda (talk | contribs) (Re-arranged some fields)
Jump to navigation Jump to search

Template:Portal2 point

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 or target).
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 theEnableinput).

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 <stringRedirectInput/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.