Paulenaz690
Member
I created 1D array to store text, thats been used in drawing pages of book, but I keep getting error on 3rd page, why is array 2D? even tho I only created 1D and dont use second dimension anywhere.
pageTwo is page+1
I created 20 slots for 1D array
___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Draw Event
for object oEventLog:
Push :: Execution Error - Variable Index [0,3] out of range [1,2] - -1.LogInProgress(100052,3)
at gml_Object_oEventLog_Draw_64 (line 57) - draw_text_ext(bX+(18*scale),bY+(3*scale), string(LogInProgress[pageTwo]), 20, 14*scale);
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Object_oEventLog_Draw_64 (line 57)
pageTwo is page+1
I created 20 slots for 1D array
___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Draw Event
for object oEventLog:
Push :: Execution Error - Variable Index [0,3] out of range [1,2] - -1.LogInProgress(100052,3)
at gml_Object_oEventLog_Draw_64 (line 57) - draw_text_ext(bX+(18*scale),bY+(3*scale), string(LogInProgress[pageTwo]), 20, 14*scale);
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Object_oEventLog_Draw_64 (line 57)