U
utunnels
Guest
https://www.dropbox.com/sh/gv17zu4f543ft6x/mdBDaZqByz/releases
set/getlocalvar and set/getscriptvar
set/getglobalvar and set/getindexedvar
So setlocalvar(1, 3) works exactly the same as setscriptvar(1, 3) and vice versa.
You can also use a string key for entityvar, for example, setentityvar("power", 99)
Command maxglobalvars in script.txt is now deprecated.
----------------------
New array logic since Build 3905:
Now array can have string keys like in Javascript. Example:
void a = array(20);
set(a, "foo", "bar");
log(get(a, "foo")); //bar
log(size(a)); //20
set(a, 23, 333);
log(size(a)); //24
free(a); //important
set/getlocalvar and set/getscriptvar
set/getglobalvar and set/getindexedvar
So setlocalvar(1, 3) works exactly the same as setscriptvar(1, 3) and vice versa.
You can also use a string key for entityvar, for example, setentityvar("power", 99)
Command maxglobalvars in script.txt is now deprecated.
----------------------
New array logic since Build 3905:
Now array can have string keys like in Javascript. Example:
void a = array(20);
set(a, "foo", "bar");
log(get(a, "foo")); //bar
log(size(a)); //20
set(a, 23, 333);
log(size(a)); //24
free(a); //important