You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OWScript 1.1: Error Handlers, Better Functions/Arrays, Map Checker, a…
…nd more! This update is a significant rework to the entire OWScript project. One of the most helpful features introuced in this release is error handlers, which tell you the exact line and position in which your errors occur. If you see a stack dump, please submit an issue on Github. The map checker allows you to check the current map that the mode is being played on using the `get_map()` function. Documentation will be updated to include all other new changes, including scoping, string parsing, and more.
Reworked if statements to support nested blocks and function calls.
Added the <player>.halt() method to cancel movement.
As usual, tokens added to syntax highlighting and fixed many parsing
issues.
Fix constants with colons parsing, evaluating objects in function calls
Soldier: 76 was matching as an annotation, so the order of lexical analysis was modified. Function body is not necessarily a ruleblock, so lines need to be joined by hand.
Release 1.0
Core features are implemented and syntax highlighting is working almost perfectly. This is the first version I consider stable enough for a full release.