• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Randomizing

Status
Not open for further replies.
Level 9
Joined
Sep 8, 2004
Messages
633
There's an action to set a made integer to a random number between x and y.
Where x and y are numbers chosen by yourself.
Then every q amount of seconds, run your trigger.

The trigger should be something like:

-Set Rain to a random number between 1 and 3
If/then/else
-If rain is equal to 2
-Then 'make rain'
-Else 'do nothing'

Also can you make it so it sets the variable rain to a random number between lets say 120 and 360, then convert the integer to a real value, and make a trigger that runs every 'your random value' times.
 
Status
Not open for further replies.
Top