M
MMGames
Guest
Dear all,
I've never used Switch on Drag and Drop before in Game Maker Studio 2.
For some reason, its giving me an error and I don't know what I am doing wrong. Could you please let me know if you see something I am missing?
Thanks!!
This is the "code":
This is the error I get when this object is executed (hence, created):
___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Create Event
for object obj_preparacion_azul1:
local variable miID(100001, -2147483648) not set before reading it.
at gml_Object_obj_preparacion_azul1_Create_0 (line 23) - var l216E9BF5_0 = miID;
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Object_obj_preparacion_azul1_Create_0 (line 23)
called from - gml_Object_obj_seleccionarlospokemon_Create_0 (line 241) - instance_create_layer(400, 220, "Instances", obj_preparacion_azul1);
I've never used Switch on Drag and Drop before in Game Maker Studio 2.
For some reason, its giving me an error and I don't know what I am doing wrong. Could you please let me know if you see something I am missing?
Thanks!!
This is the "code":
This is the error I get when this object is executed (hence, created):
___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Create Event
for object obj_preparacion_azul1:
local variable miID(100001, -2147483648) not set before reading it.
at gml_Object_obj_preparacion_azul1_Create_0 (line 23) - var l216E9BF5_0 = miID;
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Object_obj_preparacion_azul1_Create_0 (line 23)
called from - gml_Object_obj_seleccionarlospokemon_Create_0 (line 241) - instance_create_layer(400, 220, "Instances", obj_preparacion_azul1);