Skip to content

RequireVar

13.20

Class Documentation

Edit documentation

A behaviour-tree block that tests that a script variable exists. The block looks up the variable that Var names. If the variable exists, the status is Success. If it is missing and the block runs in a behaviour-tree context, the status is Error and the client reports an error.

The block writes nothing. In an ordinary block list a missing variable has no effect, and the list goes on.

Properties