A
AtLantiSs
Guest
Ok so in my create event I have this:
In my step event, the objects constantly defines what MoveTowards is
However I get this error...
FATAL ERROR in
action number 3
of Step Event1
for object obj_Marine:
Variable <unknown_object>.y(1, -2147483648) not set before reading it.
at gml_Object_obj_Marine_StepBeginEvent_3 (line 96) - mp_potential_step_object(var1.x, var1.y, 1, MoveTowards)
############################################################################################
Code:
MoveTowards = "N/A";
go = 0;
Code:
if go = 1
{
MoveTowards = tag_aly; //An Object
}
else
if go = 0
{
MoveTowards = tag_defend; //An Object
}
FATAL ERROR in
action number 3
of Step Event1
for object obj_Marine:
Variable <unknown_object>.y(1, -2147483648) not set before reading it.
at gml_Object_obj_Marine_StepBeginEvent_3 (line 96) - mp_potential_step_object(var1.x, var1.y, 1, MoveTowards)
############################################################################################