Error working with yaxis and xaxis.

Freezin

Member
I have defined both the xaxis, and the yaxis variables. I still get this error every time I try to run the program.



___________________________________________
############################################################################################
ERROR in
action number 1
of Create Event
for object <undefined>:

Variable <unknown_object>.yaxis(100003, -2147483648) not set before reading it.
at gml_GlobalScript_move_state (line 3) - dir = point_direction(0, 0, xaxis, yaxis);
############################################################################################
gml_GlobalScript_move_state (line 3)


Help is appreciated.
 
Top