J
Jdown79
Guest
Hey guys, new to the forum.
the basic script design is for a random image_angle to happen on create
in create:
in step:
in alarm 0:
I've ran over this a few times, and I'm not spotting any mistakes, but it still throws this error:
I'm hoping for a simple mistake that I've simply overlooked.
Thanks in advance.
the basic script design is for a random image_angle to happen on create
in create:
alarm[0]=irandom_range(room_speed*0.5,room_speed*1.5);
if (random(1) <= .5)
{
glassrotate = plus
}
if (random(1) >= .5)
{
glassrotate = minus
}
if (random(1) <= .5)
{
glassrotate = plus
}
if (random(1) >= .5)
{
glassrotate = minus
}
in step:
if glassrotate = plus
{
image_angle +=1
}
if glassrotate = minus
{
image_angle -=1
}
if glassrotate = stop
{
image_angle = image_angle
}
{
image_angle +=1
}
if glassrotate = minus
{
image_angle -=1
}
if glassrotate = stop
{
image_angle = image_angle
}
in alarm 0:
glassrotate = stop
I've ran over this a few times, and I'm not spotting any mistakes, but it still throws this error:
___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Create Event
for object obj_wall_glass_break_T_1:
Push :: Execution Error - Variable Get 100027.plus(100000, -2147483648)
at gml_Object_obj_wall_glass_break_T_1_CreateEvent_1 (line 4) - glassrotate = plus
############################################################################################
############################################################################################
FATAL ERROR in
action number 1
of Create Event
for object obj_wall_glass_break_T_1:
Push :: Execution Error - Variable Get 100027.plus(100000, -2147483648)
at gml_Object_obj_wall_glass_break_T_1_CreateEvent_1 (line 4) - glassrotate = plus
############################################################################################
I'm hoping for a simple mistake that I've simply overlooked.
Thanks in advance.