Execute Once

 
 
 

Executes the connected branches, and sets a custom Boolean attribute that prevents the branch from being executed again in a simulated tree until the attribute is reset. This node does not work in non-simulated trees.

Category: Execution

Output Ports: result

Enable

Allows execution of the connected branches.

Reset

Resets the custom Boolean attribute to allow the connected branches to be executed. Note that the branches are not executed on the evaluation which resets the attribute — they are executed only on subsequent evaluations.

Flag Name

A scene reference that is prepended to Reference to fully resolve the name.

Reference

The attribute being used to store the Boolean attribute that controls execution. If you use more than one Execute Once compound on an object, change the name so that the attributes do not interfere with each other.

Port1

Plug the branch to be executed into this port. Additional branches can be added by plugging them into New (Port1).