I
id07
Guest
Need someone to please explain what this means:
Variable obj_follower_counter.follower_count(100005, -2147483648) not set before reading it.
at gml_Object_obj_follower_counter_Step_0 (line 6) - if(follower_count <= 0)
############################################################################################
gml_Object_obj_follower_counter_Step_0 (line 6)
I've made a simple counter program (click a button and numbers go up or down) - entirely using DnD.
Game starts and ends perfectly.
But I wanted to save the counter/numbers on "ending the game"
So, I created an object called "obj_checkpoint" and inside I created two events
event->gamestart-> loadgame
event->gameend->savegame
I have just one room with the number counter objects, that the "checkpoint" also exist in...all objects are in the same room.
Well, when I open it for the first time, it works, but when I open it again to test, I get the error.
Removing the "obj_checkpoint" allows me to open it, but of course without the save function.
I previously did this in GM1.4 and it worked, but I tried to recreate it in GM2 and Ive got errors.
Any help is appreciated!
Variable obj_follower_counter.follower_count(100005, -2147483648) not set before reading it.
at gml_Object_obj_follower_counter_Step_0 (line 6) - if(follower_count <= 0)
############################################################################################
gml_Object_obj_follower_counter_Step_0 (line 6)
I've made a simple counter program (click a button and numbers go up or down) - entirely using DnD.
Game starts and ends perfectly.
But I wanted to save the counter/numbers on "ending the game"
So, I created an object called "obj_checkpoint" and inside I created two events
event->gamestart-> loadgame
event->gameend->savegame
I have just one room with the number counter objects, that the "checkpoint" also exist in...all objects are in the same room.
Well, when I open it for the first time, it works, but when I open it again to test, I get the error.
Removing the "obj_checkpoint" allows me to open it, but of course without the save function.
I previously did this in GM1.4 and it worked, but I tried to recreate it in GM2 and Ive got errors.
Any help is appreciated!