Switch

Switch

It will execute a child node depending on the current input value.

Success: When the current child node returns Success

Failure: When the current child node returns Failure or the input value is greater than the number of child nodes

Running: When the current child node returns 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.

index

int

Index of the child to run

Copyright © 2017, Toolchefs LTD.