Global arrays inside with(){} dun work.
Code:
//create of obj_0
global var myarray;
myarray[0]="string";
//draw of obj_1
//this works
draw_text(10,10,string(myarray[0]));
//this doesn't
with (obj_0){
draw_text(10,10,string(myarray[0]));
}
It says:
Preprocessor_Environment_Editable/IDE_EDIT_objectaccess.h:48:46: error: 'struct enigma::OBJ_obj_0' has no member named 'myarray'
Preprocessor_Environment_Editable/IDE_EDIT_objectaccess.h:49:46: error: 'struct enigma::OBJ_obj_1' has no member named 'myarray'
I doesn't work if I put other. in front of it (if I call with (obj_1){}), or if I do global var myarray[1][1]; or something like that.
So basically... is the new parser done yet?
Also, if you have this anywhere:
global var time;
Then it insta-crashes on load.