| 08-18-2002, 06:57 AM | #1 |
I want to create a trigger cycle for weather that turns the weather on and off every few minutes. However I'm having problems with the trigger checking. Also is there any way you can up the limit of how many units you can hire at a mercenary camp? Thanx for the help. |
| 08-18-2002, 07:31 AM | #2 |
Added: BTW, this makes the weather on for 1 minute, then off for 1, and on again, and so on. Here is a map with the only 5 triggers required. Just copy em to your map and modify the region of the weather effect, and the weather effect it creates. Hope this solves your prob. |
| 08-18-2002, 08:11 AM | #3 |
Thanx. It took a bit of fiddling, but I got it working in three triggers. Weather Cycle Start Weather Event- Map Initialization Action- Create Weather Effect Enable Weather Effect Weather Off Event- Every 60 seconds of Game Time Action- Disable Weather Effect Weather On Event- Every 120 seconds of Game Time Action- Enable Weather Effect For any future reference. Thanx again. |
| 08-18-2002, 08:23 AM | #4 |
Guest | Or,... Events- Every 60 seconds of Game Time Conditions- (none) Actions- If (boolean_WeatherDisable = True) then (Enable Weather Effect) If (boolean_WeatherDisable = False) then (Disable Weather Effect) If (boolean_WeatherDisable = True) then (Set boolean_WeatherDisable = False) If (boolean_WeatherDisable = False) then (Set boolean_WeatherDisable = True) That should work... |
| 08-18-2002, 09:58 AM | #5 |
Guest | You could also make it probability based - every 60 seconds it takes a random value between - say 1 and 100 - and compares it to a set value, if the values are equal, it turns the weather effect on/off. |
