I'm currently trying to spawn a created object to an empty spot against a wall, then having it stop. Followed by creating another object and having do the same. I guess think tetris but creating the object at the furthest empty left location.
I currently have something like this:
Create object Mouse animalfamily.X +25, animalfamily.Y
Create object Horse animalfamily.X +50, animalfamily.Y
Create object Snake animalfamily.X +75, animalfamily.Y
This leaves a blank spot if one does not exist.
I have tried this a few different ways this was the closest I got:
Create object Mouse animalfamily.X + (animalfamily.count x 25), animalfamily.Y
Create object Horse animalfamily.X + (animalfamily.count x 25), animalfamily.Y
Create object Snake animalfamily.X + (animalfamily.count x 25), animalfamily.Y
The issue is this kept making objects over and over until they ran off screen? removing the animalfamily.count to find how far to place the object via X location only makes one but again it wont test for an empty spot.
Please if I can help you help me by answering any questions feel free to let me know how I can clear up any confusion in my question.