My problem is when I kill about 10 spiders, I get this error:
___________________________________________
ERROR in
action number 1
of Step Event
for object obj_turret2:
Error in code at line 3:
direction = point_direction(x,y,object.x,object.y);
^
at position 41: Unknown variable x
Can someone look over my code and tell me what my problem is?
My game
I'm sure it's pretty simple...











