In GoldSrc entity system, the
activator is the initiator of the entity events.
For example, when a player walks into a trigger, the player is the activator. In multiplayer, only the player who walks into a trigger is the activator. If a trigger has "Alow Monsters" flag on, then monsters that walk into them become activators.
Activators are use to preserve or keep track of the initiator of the entity events. For example,
env_fade
can be made to only apply to the activator with the "Activator Only" flag.
This allows a chaining of triggers e.g. a trigger targets a
trigger_relay
, which targets a
game_text
, which displays text to only the activator by default.
However, this activator chain can be broken when:
Therefore, care should be taken to make sure entities that affect activators aren't targeted in the above ways. For example, a
multi_manager
targeting a
game_text
will crash the game unless "All clients" flag is checked.
!activator
(SC, Featureful)*locus
(SoHL, Featureful)