Random Selector

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

Attributes

Type

Description

lockAgent

bool

If on, ensures no data on the agent is written simultaneously by nodes that have this option active.

seed

int

The random generator seed

useAnimatedSeed

bool

Use the simulation to offset the random generator seed

useAgentIdAsSeed

bool

Use the agent id to offset the random generator seed

Copyright © 2017, Toolchefs LTD.