J
Jakob Åsmul
Guest
Hi!
I followed a tutorial on YouTube that showed me to make an AI player in a pong game, and then, this message showed up:
___________________________________________
########################################################################################
FATAL ERROR in
action number 1
of Step Event0
for object object_ai:
Variable object_ai.object_ball(100002, -2147483648) not set before reading it.
at gml_Object_object_ai_StepNormalEvent_1 (line 1) - action_move_to( 0, (object_ball.y - y) / 6 );
########################################################################################
Does anyone know how to fix it?
I followed a tutorial on YouTube that showed me to make an AI player in a pong game, and then, this message showed up:
___________________________________________
########################################################################################
FATAL ERROR in
action number 1
of Step Event0
for object object_ai:
Variable object_ai.object_ball(100002, -2147483648) not set before reading it.
at gml_Object_object_ai_StepNormalEvent_1 (line 1) - action_move_to( 0, (object_ball.y - y) / 6 );
########################################################################################
Does anyone know how to fix it?