Make an object and in the create event put in: alarm[0] = "put seconds here" * room_speed ; create an alarm 0 event and put this: instance_create(x, y, "The name of the enemy object"); alarm[0] = "put seconds here" * room_speed ;
Viewing post in Endless Enemy spawn Game Maker Studio 2
yo dude, i made exactly same thing, but it says
"
___________________________________________
############################################################################################
ERROR in
action number 1
of Create Event
for object Object7:
DoMul :: Execution Error
at gml_Object_Object7_Create_0 (line 1) - alarm[0] = "5" * room_speed * 5;
############################################################################################
gml_Object_Object7_Create_0 (line 1)
"