Best way to spawn enemies in Waves?

freneticzfreneticz SwedenMember, PRO Posts: 777

ex..

Wave 1: 10 of enemy nr1 with 1sec between and move them
Wave 2: 5 of enemy nr1 with 1 sec between & 5 of enemy nr2 with 0.5sec between

What is the best way to do this these days?

Now i have a enemy spawner with a every 1sec timer spawn enemy nr1, but every time its spawn its "lagging" alot...

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    edited January 2019

    If it's lagging it's likely due to timers or constrain behaviors (possibly within the spawned actors) that would slow things down.

  • RowdyPantsRowdyPants Member Posts: 465

    @freneticz I'm trying to upload a demo for you but the GS site seems to be not happy with attachments at the moment. I'll try again in a bit.

  • freneticzfreneticz SwedenMember, PRO Posts: 777

    I have 7 "move to" in the spawning actors, if i change to 6 its not lagging :neutral:

  • Two.ETwo.E Member Posts: 599

    Thats not likely going to cause the problem in all honesty - Removing the behaviour if done correctly.
    I would suggest, if you want to, to .zip (Compress) the GS file and upload.
    I am sure I can take a quick look and see what's causing the lag.

    Best,

Sign In or Register to comment.