How to make an event with random rain?

● ARCHIVED · READ-ONLY
Started by Warrior_Corporation 4 posts View original ↗
  1. For example: in 900 frames, there will be a 20% chance of starting to rain, I want to know how I can create an event of such a chance of something happening, for example rain.

    I think it's something with variables but, I don't know where it is.

    Another example in parallel event mode:
    Wait 999 frames
    Wait 999 frames
    (20% chance of rain)
    Wait 999 frames
    Wait 999 frames
    ...
  2. Yep. Use the Control Variables event command and generate a number between 1-100. Then do an IF branch to check if the number is <= 20 or something similar. If true, start your rain.
  3. Frogboy said:
    Yep. Use the Control Variables event command and generate a number between 1-100. Then do an IF branch to check if the number is <= 20 or something similar. If true, start your rain.
    I understood, thank you, I'll test.