Random Selector

Runs the child nodes from highest to lowest priority (top to bottom). Returns Success as soon as any child node returns Success while returns Failure if all child nodes return Failure. It will shuffle its child nodes on each reset and execute them in the new order.

Success: When any child returns Success.

Failure: When all children return Failure.

Running: When the current child is Running.



Attributes

Attributes
Type
Description
lockAgentboolIf on, ensures no data on the agent is written simultaneously by nodes that have this option active.
seedintThe random generator seed
useAnimatedSeedboolUse the simulation to offset the random generator seed
useAgentIdAsSeedboolUse the agent id to offset the random generator seed

Copyright © 2017, Toolchefs LTD.