![]() |
• World Manager | ||||||||||||||||||
|
API Links
Developer Links
|
class TriggerDefined in:
The C4Triggers.hTrigger class represents a trigger node in a world.
Definition
Member Functions
Constructor
Trigger class can only exist as the base class for a more specific type of trigger.
Parameters
Description
The Trigger class represents a trigger node in a world. Triggers are typically activated by calling the World::ActivateTriggers function to test a swept sphere against all trigger volumes in the world.A trigger node has a built-in connector of type TARG, and the node to which it is connected can be accessed using the Trigger::GetNodeConnector and Trigger::SetNodeConnector functions. When a trigger is activated, if the trigger itself does not have a controller assigned to it, then the controller assigned to the node connected through the TARG connector is activated.See the World::ActivateTriggers function for the exact trigger activation behavior.
Base Classes
See Also
|