Here is my problem
I creat randomized weather system in ceratain region, but it somehow do not create that effect
Well you would have to see triggers
I creat randomized weather system in ceratain region, but it somehow do not create that effect
Well you would have to see triggers
- Time - Every (Random real number between 5.00 and 7.00) seconds of game time
-
Actions
- Environment - Remove Weather_Effect[1]
- Set Weather_Integer = (Random integer number between 1 and 4)
- Game - Display to (All players) the text: (String(Weather_Integer))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Weather_Integer Equal to 1
-
Then - Actions
- Environment - Create at Region1 <gen> the weather effect Ashenvale Rain (Heavy)
- Environment - Turn (Last created weather effect) On
- Set Weather_Effect[1] = (Last created weather effect)
- Unit - Create 1 Footman for Player 1 (Red) at (Center of Region1 <gen>) facing Default building facing degrees
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Weather_Integer Equal to 2
-
Then - Actions
- Environment - Create at Region1 <gen> the weather effect Ashenvale Rain (Heavy)
- Environment - Turn (Last created weather effect) On
- Set Weather_Effect[1] = (Last created weather effect)
- Unit - Create 1 Knight for Player 1 (Red) at (Center of Region1 <gen>) facing Default building facing degrees
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Weather_Integer Equal to 3
-
Then - Actions
- Do nothing
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Weather_Integer Equal to 4
-
Then - Actions
- Do nothing
- Else - Actions
-
If - Conditions