Stop actors spawning on top of each other and progressively faster

lukearnamnartlukearnamnart Sydney Member Posts: 7

Currently I have it set up so that the actors spawn in a random sequence, however, when the actors spawn they constantly spawn on top of each other. I'd like to set it up so the actor cannot spawn in that space to the actor which was previously there is destroyed. Also is it possible to set it up so that the actors start appearing progressively faster as time passes..
I have attached a test.gameproj to show how I currently have set it up..
dl link: https://www.dropbox.com/s/ylu6ayxrxiecxmb/tester.gameproj

Thanks heaps!

Comments

  • lukearnamnartlukearnamnart Sydney Member Posts: 7

    bump

  • colandercolander Member Posts: 1,610

    @lukearnamnart I was unable to open your test file with the latest version of creator GS 11.0.13

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

    It may not have fully synced. That file is 510 bytes... not enough for a full project file.

  • lukearnamnartlukearnamnart Sydney Member Posts: 7

    I'll try again, sorry guys! I got it to appear in a random sequence, and I tested it for a little while, and I stopped them from re-spawning on top of each other however the next actor doesn't appear till the first one has appeared.. I would just like them to continuously spawn..

    New link: https://www.dropbox.com/s/t87opbhcsi6y54v/tester1.zip
    Thanks for the response!

  • lukearnamnartlukearnamnart Sydney Member Posts: 7

    bump

  • colandercolander Member Posts: 1,610
    edited June 2014

    I don't know of a way to easily do this. The only function we have is random() with with two parameters a minimum and maximum integer. So obviously if actor 2 is live you can't remove that from the range.

    If you only have a few actors my modified version might suite your purposes. If you have a lot of actors you will need a more complex set of rules to achieve it. Use the principle in the other file and adapt it to your needs.

    If you can't see the attached files reload the page.

  • lukearnamnartlukearnamnart Sydney Member Posts: 7

    Thanks heaps for that, I have 16 actors it needed to apply to, so not too many.. Thanks heaps, I'll get started on it!

  • SocksSocks London, UK.Member Posts: 12,822

    @lukearnamnart said:
    Thanks heaps for that, I have 16 actors it needed to apply to, so not too many.. Thanks heaps, I'll get started on it!

    Here is a spawner that gets progressively faster:

    Link: https://www.mediafire.com/?dcj81y2qb679lyv

Sign In or Register to comment.