ScriptState::GetTriggerNode
Defined in:  
Returns the trigger node for a script.
C4Scripts.hPrototype
Node *GetTriggerNode(void) const;
Description
The GetTriggerNode function returns the trigger node that was activated, causing the particular script instance represented by a ScriptState object to run. If the script was not started by a trigger node being activated, then there is no trigger node, and the return value is nullptr.Note that if a particular method targets the trigger node, then it will be returned by the
Method::GetTargetNode function.
See Also
