BehaviorTree.CPP icon indicating copy to clipboard operation
BehaviorTree.CPP copied to clipboard

Tolerance to Upper case booleans in scripting

Open MarcoMatteoBassa opened this issue 6 months ago • 0 comments

Is your feature request related to a problem? Please describe.

While writing scripts, for example

<Script code="a_fancy_variable := false"/>

it is easy to mistakenly write boolean variables with an upper case fist char, ex "True" or "False", which currently results in a runtime error.

Describe the solution you'd like

It would be nice if the framework would be tolerant to "True" or "False" too :)

MarcoMatteoBassa avatar Aug 22 '24 08:08 MarcoMatteoBassa