Conditional

Conditional

Runs the child node only if the assigned condition is true.

Success: When the child returns Success

Failure: When child node fails, or the condition is false and the child node is not already running

Running: When the 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.

dynamic

bool

If the child is running check the condition at every tick, aborting the child if the the condition is not met.

invert

bool

If on, the result value of the comparison is inverted.

threshold

double

An error threshold to use for the comparison.

value1

any

First value to compare.

value2

any

Second value to compare.

checkType

int

The method used for comparison: 0 (Equal), 1 (Greater), 2 (Less), 3 (Greater or Equal), 4 (Less or Equal)

Copyright © 2017, Toolchefs LTD.