W
WanSou
Guest
Hi,
Im doing one of my clicker projects and i was doing small cutscene and i did it and it worked but somehow i cant add money... its really hard to explain but...
(warning my names are weird)
I have new object named : MONIESSS
inside of it there is draw event and inside of draw event there is draw value.
inside of draw value there is Caption : global.Money (money in global variables)
X : 64 Y : 18 (Just coordinates)
And i got that error :
___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Draw Event
for object MONIESSS:
global variable name 'Money' index (100002) not set before reading it.
at gml_Object_MONIESSS_Draw_0 (line 7) - draw_text(64, 18, string(global.Money) + "");
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Object_MONIESSS_Draw_0 (line 7)
Im not great at gml and i just understand that something is wrong with MONIESSS and Draw Value
Help please
Im doing one of my clicker projects and i was doing small cutscene and i did it and it worked but somehow i cant add money... its really hard to explain but...
(warning my names are weird)
I have new object named : MONIESSS
inside of it there is draw event and inside of draw event there is draw value.
inside of draw value there is Caption : global.Money (money in global variables)
X : 64 Y : 18 (Just coordinates)
And i got that error :
___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Draw Event
for object MONIESSS:
global variable name 'Money' index (100002) not set before reading it.
at gml_Object_MONIESSS_Draw_0 (line 7) - draw_text(64, 18, string(global.Money) + "");
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Object_MONIESSS_Draw_0 (line 7)
Im not great at gml and i just understand that something is wrong with MONIESSS and Draw Value
Help please