- Joined
- Mar 10, 2008
- Messages
- 869
This tutorial is about making things have a chance to happen. You can do this in GUI triggers. First you need your Integer Variable. Lets name it Chance.
Now, make a trigger:
You can set intervals to different times but make sure the total adds up to the event.
Now lets see how it works.
You can do almost anything in GUI randomized with this.
Hope you like my TUT.
Now, make a trigger:
-
Chance Randomization
-
Events
- Time - Every 3 seconds of game time
- Conditions
-
Actions
- Set Chance = 0
- Wait 1 second
- Set Chance = 1
- Wait 1 second
- Set Chance = 2
- Wait 1 second
-
Events
You can set intervals to different times but make sure the total adds up to the event.
Now lets see how it works.
-
Chance Example
-
Events
- -Whatever you want happens-
- Conditions
-
Actions
- If (Chance Equal to 0) then do (Game - Display to (All Players) the text: Lol) else do (Do nothing)
- If (Chance Equal to 1) then do (Game - Display to (All Players) the text: Rofl) else do (Do nothing)
- If (Chance Equal to 2) then do (Game - Display to (All Players) the text: Lmao) else do (Do nothing)
-
Events
You can do almost anything in GUI randomized with this.
Hope you like my TUT.
Last edited: