trigger node

Summary

The trigger node starts the actions in an event node.

For more information regarding the scripting of this node see the scripting reference entry for trigger.

Children

This node cannot contain children.

Example B.12. Use of trigger node

<trigger event="myevent"/>

Attributes

trigger attributes
nametypedefaultnotes
eventnode id the id of an event node to trigger

Attributes common to action nodes
nametypedefaultnotes
timesinteger1the number of times to perform this action. Use -1 to repeat indefinitely

Attributes common to nodes
nametypedefaultnotes
visiblebooleantrueIf false, this node (or its children, if it has any) will not be rendered.
colorr g b a (in range 0 to 1)1 1 1 1specifies the color used to modulate this node and its children
idstring an identifier used to refer to this node