How do I give these "Random Occurences" some separation?

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.
  • My horror game is filled with a bunch of random occurrences, and I hope to add even more.

    Please login to see this picture.
    Please login to see this link.

    I want each of these to run at the Start of Frame, and about 1/50 times, something will happen.
    each one is an alternate design on one of the walls or objects throughout the map.
    Sometimes this wall will be normal, other times it could have words written on it, it's just a creepy random feel.

    It was working pretty well, but sometimes when one of these happen, they all trigger at once.
    I don't mind the tiny possibility of them all triggering at once, but I certainly do not want all of them triggering just because one did.
    Any idea why this happens?

  • Interesting.... Something to look into for a bug report as they shouldn't all trigger.
    The odds of that

    I might just use an alterable value so you can see when one has been triggered and then check it to prevent others from also triggering.
    But there must be a bug here with this condition.

    Please login to see this link.

  • I wonder if the random number for these events is generated once at the start of the event list and then used all the way down? It doesn't sound likely, though... you could try replacing them with Compare two general values --> random(52) = 0 and seeing if that gives you a better spread.

    Please login to see this link.
    Please login to see this link.

  • DavidN
    Here are my results of trying this:
    I re-launched my game multiple times to see how consistent it is.

    (High chances for testing purposes)

    #1: 2/10 random occurrences
    #2: 2/10 random occurrences
    #3: 1/10 random occurrences
    #4: 3/10 random occurrences
    #5: 1/10 random occurrences
    #6: 2/10 random occurrences
    #7: 3/10 random occurrences
    #8: 2/10 random occurrences
    #9: 2/10 random occurrences
    #10: 1/10 random occurrences

    This was done on 1/5 chance.

    It seems to work pretty well. I will be sure to lower the chances to 1/50, and see how it goes as I test my game. Thanks!

  • Actually, I believe the problem happens when I restart the frame without restarting the application. The Random Occurences stay, and they begin to pile up.
    I am not sure how to restart the process each time the frame starts.

  • *FIXED*

    So, the problem was that the animations would not revert back to Frame 0, but all start with their "secret" frame.
    I fixed this by doing

    *Start of Frame
    -Force Animation Frame to 0

    on all of the objects.

    Then, I added "Current frame of Object = 0" to the random events.

Participate now!

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