Help with random spawning (among established Spawn Points)

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.
  • Howdy! So, I'm still working on this horror game of mine.
    I laid out about 20 collectible objects throughout the map. (see these as Slender Pages)
    What I want is for 10/20 of these to spawn. Which objects spawn would be random.
    But 10 would always spawn. No more, no less.

    If anyone can help with this, it'll be much appreciated! <3

    For example:
    In "Slender: The Eight Pages", there are 8 pages scattered throughout the map.
    There are 10 landmarks, each one with a potential spawn. At the beginning of the game,
    8/10 of them are randomly chosen to spawn, and the other two left out.

  • What you can do is give the objects the same qualifier and at start of frame destroy 10 of the objects, so that it seems that it spawned the other 10 objects.

    * Start of frame

    - Start loop "Destroy Object" 10 times

    * On loop "Destroy Object"
    + Pick one of "Group.1"
    - Group.1: Destroy

  • Popcorn This worked great! It took me quite a while to figure out, being new and all, but the finished project is just fine!
    10/20 of them spawn every time, never more, never less. There is also such a nice variety, so it's definitely being randomized!
    Thank you very much, these skills will be crucial for many projects in the future. :)

Participate now!

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