im getting an this error in my code:
-
ERROR in
action number 1
of Step Event0
for object obj_spawner:
Push :: Execution Error - Variable Index [3] out of range [3] - -1.remaining(100073,3)
at gml_Object_obj_spawner_Step_0 (line 19) - if (remaining[current_wave] <= 0)
############################################################################################
gml_Object_obj_spawner_Step_0 (line 19) -
the line of code the error is on is:
if (remaining[current_wave] <= 0)
i can put more code if its needed i just dont really understand the error.
-
ERROR in
action number 1
of Step Event0
for object obj_spawner:
Push :: Execution Error - Variable Index [3] out of range [3] - -1.remaining(100073,3)
at gml_Object_obj_spawner_Step_0 (line 19) - if (remaining[current_wave] <= 0)
############################################################################################
gml_Object_obj_spawner_Step_0 (line 19) -
the line of code the error is on is:
if (remaining[current_wave] <= 0)
i can put more code if its needed i just dont really understand the error.