K
kingvamez
Guest
when ever i enter this code for a grid system in a game this error message appears
___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Draw Event
for object oNode:
Variable oNode.yy(100003, -2147483648) not set before reading it.
at gml_Object_oNode_DrawEvent_1 (line 3) - draw_text(xx + 4, yy + 4, string(ds_list_size(neighbors)))
############################################################################################
what does it mean and how do I fix it I've spent two days trying and all I know is that the code below has something to do with it because when I take it out it works but is incomplete. all this code is an action under a draw event
draw_text(xx + 4, yy + 4, string(ds_list_size(neighbors)))
whole page below
draw_self();
draw_text(xx + 4, yy + 4, string(ds_list_size(neighbors)))
___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Draw Event
for object oNode:
Variable oNode.yy(100003, -2147483648) not set before reading it.
at gml_Object_oNode_DrawEvent_1 (line 3) - draw_text(xx + 4, yy + 4, string(ds_list_size(neighbors)))
############################################################################################
what does it mean and how do I fix it I've spent two days trying and all I know is that the code below has something to do with it because when I take it out it works but is incomplete. all this code is an action under a draw event
draw_text(xx + 4, yy + 4, string(ds_list_size(neighbors)))
whole page below
draw_self();
draw_text(xx + 4, yy + 4, string(ds_list_size(neighbors)))