Quote Originally Posted by Gleeok View Post
ZScript actually does allow global variables and arrays. std.zh just doesn't define any since there is a limit of 256 currently. Also const int is basically the script version of a c #define in case anyone was wondering; can't recall if they obey normal scope rules though.
IIRC, it was when I tried to set one to a value that I encountered the problem, and it said something about defining non-constant globals.