C4 Engine
C4 Engine API Documentation

TriggerObject::SetTargetConnectorKey

Defined in:  C4Triggers.h
Sets the connector key for the trigger's target node.
Prototype

void SetTargetConnectorKey(const char *key);

Parameters
key The new connector key.
Description
The SetTargetConnectorKey function sets the connector key that is used to find the trigger's target node. When a trigger is activated and the trigger does not have a controller itself, then the controller of the connected node is activated.

See the World::ActivateTriggers function for the exact trigger activation behavior.
See Also

TriggerObject::GetTargetConnectorKey