Okay, Basically, what I'm trying to do is the following:
I want to create a string that uses a variable in it.
The variable is stored inside a Ds_Map
When I try to run the game this happens:
___________________________________________
############################################################################################
FATAL ERROR in
action number 2
of Draw Event
for object Menu_Drawer:
DoAdd :: Execution Error
at gml_Object_Menu_Drawer_DrawGUI_2 (line 26) - draw_text(5+(line*7.5),5+(line*12),"Level: " + chosen[? "level"])
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Object_Menu_Drawer_DrawGUI_2 (line 26)
I don't think "line" is the thing giving problems, cause I already tested it without this line and it works.
So, what can I do to fix this problem?
I want to create a string that uses a variable in it.
The variable is stored inside a Ds_Map
When I try to run the game this happens:
___________________________________________
############################################################################################
FATAL ERROR in
action number 2
of Draw Event
for object Menu_Drawer:
DoAdd :: Execution Error
at gml_Object_Menu_Drawer_DrawGUI_2 (line 26) - draw_text(5+(line*7.5),5+(line*12),"Level: " + chosen[? "level"])
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Object_Menu_Drawer_DrawGUI_2 (line 26)
I don't think "line" is the thing giving problems, cause I already tested it without this line and it works.
So, what can I do to fix this problem?