Logic register activator: Difference between revisions
Jump to navigation
Jump to search
(Now in Gmod as of the March 2025 update.) |
(Discovered it's not in the FGD, added the according tag. Feel free to remove that tag once its fixed, but it might be better to leave it until the next full update.) |
||
Line 1: | Line 1: | ||
{{this is a|point entity|name=logic_register_activator|since=Portal 2}} {{also|{{gmod}}}} It stores an entity and sends messages with it as the activator. | {{this is a|point entity|name=logic_register_activator|since=Portal 2}} {{also|{{gmod}} {{!fgd}}}} It 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. | Useful for keeping track of entities with mangled names due to template spawners and instances. |
Revision as of 12:47, 27 March 2025
logic_register_activator
is a point entity available in all Source games since
Portal 2. (also in
!FGD) It 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 to 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 to OnRegisteredActivate4
- Fired to send a message using the registered as the activator.