Spawning enemies swap places

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Another day, new problems...

    I'm trying to create an event where my game randomly spawns an enemy and a "mover". The mover is simply the enemy movement and I need a seperate one since they are supposed to be able to move through spaces smaller than the enemy sprite. Now, the problem is that no matter how I try, some of them keep swapping places when spawned. I tried using Spread Value, I tried to give them an ID based on loopindex, and I've tried different versions of these, but still some of them keep swapping.

    I've tried giving the enemies an ID via Qualifiers, and when that didn't work like I intended, I tried do it via each enemy Active (like in the posted example). Both times they start swapping.

    Should I perhaps make a For Each Loop every time it spawns an enemy, and make sure enemy and mover have the same ID?
    I would make an event that says if
    ID Enemy = ID Mover > place enemy on mover. But everytime I tried this, it reads that as every Enemy, and places all the enemies on the same mover (guess that's why we have For Each loops).

    Does anyone know how to do this? I feel like it shouldn't be difficult, but I can't figure it out...

    Including the mfa in a drop box link, because I can't upload via the file uploader...

    Please login to see this link.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!