New Features
Initial implementation of “while” loops in scripting. In this release these are only supported in quick scripts, but will be added to the visual editor in an upcoming release. The syntax is similar to “if” statements, but it uses the keywords “while/do” instead of “if/then”. Example:
while conditional expression do
statement(s)
end
Changes
Changed the “Set Entity Light Color” script to wait until completion before proceeding further into the script, similar to other timed functions like “Move Camera Over Time”.
Bug Fixes
Fixed an issue where dialogue could be continued prematurely while a script was executing if the player would click in the screen area where the dialogue box resides (or press the spacebar).
Fixed a few issues related to triggering scripts within dialogue that could result in the dialogue getting stuck.
When using relational operators in a script to compare a property against a numerical value, if the property is null or blank then it will default to zero to prevent errors.