Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
Yeah, you set it to a random value between (including 1 and 100) 1 and 100, so basically like a dice with 100 sides.
You roll the dice with the first action, not with less or equal to 25.
After that you look at the dice and do something depending on the number. (if dice number less or equal to 25)
It's important to store the value, so you don't have to roll the dice multiple times.
You can also use smaller numbers. You basically only need 4. (1->A, 2->B, 3 and 4 -> nothing)
If you would roll the multiple times it will be more complicated and slower too:
Random
Events
Unit - A unit enters (Playable map area)
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Random integer number between 1 and 4) Equal to 1
Then - Actions
-------- A --------
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Random integer number between 1 and 3) Equal to 1
Yeah, you set it to a random value between (including 1 and 100) 1 and 100, so basically like a dice with 100 sides.
You roll the dice with the first action, not with less or equal to 25.
After that you look at the dice and do something depending on the number. (if dice number less or equal to 25)
It's important to store the value, so you don't have to roll the dice multiple times.
You can also use smaller numbers. You basically only need 4. (1->A, 2->B, 3 and 4 -> nothing)
If you would roll the multiple times it will be more complicated and slower too:
Random
Events
Unit - A unit enters (Playable map area)
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Random integer number between 1 and 4) Equal to 1
Then - Actions
-------- A --------
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Random integer number between 1 and 3) Equal to 1
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.