Pixel_Danila
Member
I created an enemy. He must move around the room and, when meeting with the player, move towards him. Everything worked fine. Now I tried to make a random spawn of enemies, but he began to write that there is no function.
Variable Obj_Pile_of_dust.updPD(100059, -2147483648) not set before reading it.
at gml_Object_Obj_Pile_of_dust_StepNormalEvent_1 (line 3) - if (updPD = 0) && (MoveYes = 0) && (global.MoveNo = 0)
But the command have this value.
room start
updPD = 0;
Help! Whats happened?
Variable Obj_Pile_of_dust.updPD(100059, -2147483648) not set before reading it.
at gml_Object_Obj_Pile_of_dust_StepNormalEvent_1 (line 3) - if (updPD = 0) && (MoveYes = 0) && (global.MoveNo = 0)
But the command have this value.
room start
updPD = 0;
Help! Whats happened?