Is it possible to use LVARs in sfall global scripts (i.e. scripts prefixed with gl_)? The script doesn't get run globally if I correctly include it in scripts.lst, but otherwise its LVAR doesn't seem to work correctly;
If I give it a filename which is too long and include it in scripts.lst then the game crashes, but if I give it a filename longer than 8 characters but not long enough to crash the game, then it seems to work globally, and the LVAR worked mostly correctly? But when I reloaded the game during combat then I saw weird unexpected behaviour with its variable.
The reason why I need a LVAR is because ideally I would like the variable to be only accessible by this particular global script. But if that's not possible then I'll use a GVAR.
If I give it a filename which is too long and include it in scripts.lst then the game crashes, but if I give it a filename longer than 8 characters but not long enough to crash the game, then it seems to work globally, and the LVAR worked mostly correctly? But when I reloaded the game during combat then I saw weird unexpected behaviour with its variable.
The reason why I need a LVAR is because ideally I would like the variable to be only accessible by this particular global script. But if that's not possible then I'll use a GVAR.