If this evaluates to true, the status is Success also when the variable is missing.
IsVarInTableBlock
Inheritance 2 ancestors · 4 siblings
- IScriptBlock
- IBehaviorScriptBlock
- 0xc07dd66c
- BehaviorScriptCommentBlock
- IsVarInTableBlockcurrent
- RequireVar
- SetVarInTableBlock
- IBehaviorScriptBlock
Class Documentation
Edit documentationA behaviour-tree block that tests whether a script
variable exists. The block looks up the variable that Var names and evaluates
"0x1f50a19e". The status is Failure if the variable is missing and "0x1f50a19e" is
false. Otherwise the status is Success.
The block writes nothing, so it has no effect outside a behaviour-tree context.
Properties
The variable to look up, as a table and a key (see IScriptValueGet).