I'm getting an error in my prototype CCG and I can't seem to figure out what the cause of it is. The error information seems unusually unhelpful.
FATAL ERROR in
action number 1
of Create Event
for object obj_card:
trying to index a variable which is not an array
at gml_Object_obj_card_Create_0 (line 1) - {
It happens whenever I select an instance to turn into another instance within the game. I've tried looking up this error, but all the other solutions I've found seemed to have had something to do with the array not being created before being used. I've moved the control object (which I have used to initialize the arrays) into an 'initialization' room by itself, that is the first room in the game, so I don't think the array doesn't exist before being used. I've checked for typos probably twenty times, so I doubt that's it. I've tried making the arrays global, that hasn't helped. I'm not sure what else to try. Any help is appreciated.
FATAL ERROR in
action number 1
of Create Event
for object obj_card:
trying to index a variable which is not an array
at gml_Object_obj_card_Create_0 (line 1) - {
It happens whenever I select an instance to turn into another instance within the game. I've tried looking up this error, but all the other solutions I've found seemed to have had something to do with the array not being created before being used. I've moved the control object (which I have used to initialize the arrays) into an 'initialization' room by itself, that is the first room in the game, so I don't think the array doesn't exist before being used. I've checked for typos probably twenty times, so I doubt that's it. I've tried making the arrays global, that hasn't helped. I'm not sure what else to try. Any help is appreciated.