BT decorator that executes its child task for each element of an [Array].
BTForEach executes its child task for each element of an [Array]. During each iteration, the next element is stored in the specified [Blackboard] variable.
Returns [code]RUNNING[/code] if the child task results in [code]RUNNING[/code] or if the child task results in [code]SUCCESS[/code] on a non-last iteration.
Returns [code]FAILURE[/code] if the child task results in [code]FAILURE[/code].
Returns [code]SUCCESS[/code] if the child task results in [code]SUCCESS[/code] on the last iteration.
A variable within the [Blackboard] that holds an [Array], which is used for the iteration process.
A [Blackboard] variable used to store an element of the array referenced by [member array_var].