- Joined
- Nov 2, 2007
- Messages
- 160
owkey i want to make a weather which changes every 250 seconds i ive made the following trigger
(sorry but i have a german we version so there are some german parts)
wetterarten (1-6) these are the possible kinds of weather (setted in annother trigger) (1 and 5 are norma lweather => no change)
wettergebiete (1-8) here the 8 weather zones are stored
wetter (1-8) here the weather of zone 1-8 is stored
aktuelles wetter (1-8) here the weather effekt is saved in order to remove it when the weather changes
the problem is that this doesn't work in game
(sorry but i have a german we version so there are some german parts)
-
wetter
-
Ereignisse
- Zeit - Elapsed game time is 1.00 seconds
- Zeit - Every 250.00 seconds of game time
- Bedingungen
-
Aktionen
-
For each (Integer A) from 1 to 8, do (Actions)
-
Schleifen - Aktionen
- Set Wetter[(Integer A)] = Wetterarten[(Random integer number between 1 and 6)]
-
Schleifen - Aktionen
-
For each (Integer A) from 1 to 8, do (Actions)
-
Schleifen - Aktionen
- Umgebung - Remove AktuellesWetter[(Integer A)]
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
'IF'-Bedingungen
- Wetter[(Integer A)] Gleich Wetterarten[2]
-
'THEN'-Aktionen
- Umgebung - Create at Wettergebiet[(Integer A)] the weather effect Lordaeron-Regen (leicht)
- Umgebung - Turn (Last created weather effect) Ein
- Set AktuellesWetter[(Integer A)] = (Last created weather effect)
- 'ELSE'-Aktionen
-
'IF'-Bedingungen
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
'IF'-Bedingungen
- Wetter[(Integer A)] Gleich Wetterarten[3]
-
'THEN'-Aktionen
- Umgebung - Create at Wettergebiet[(Integer A)] the weather effect Weißer Dungeon-Nebel (dicht)
- Umgebung - Turn (Last created weather effect) Ein
- Set AktuellesWetter[(Integer A)] = (Last created weather effect)
- 'ELSE'-Aktionen
-
'IF'-Bedingungen
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
'IF'-Bedingungen
- Wetter[(Integer A)] Gleich Wetterarten[4]
-
'THEN'-Aktionen
- Umgebung - Create at Wettergebiet[(Integer A)] the weather effect Ashenvale-Regen (stark)
- Umgebung - Turn (Last created weather effect) Ein
- Set AktuellesWetter[(Integer A)] = (Last created weather effect)
- 'ELSE'-Aktionen
-
'IF'-Bedingungen
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
'IF'-Bedingungen
- Wetter[(Integer A)] Gleich Wetterarten[6]
-
'THEN'-Aktionen
- Umgebung - Create at Wettergebiet[(Integer A)] the weather effect Lordaeron-Regen (stark)
- Umgebung - Turn (Last created weather effect) Ein
- Set AktuellesWetter[(Integer A)] = (Last created weather effect)
- 'ELSE'-Aktionen
-
'IF'-Bedingungen
-
Schleifen - Aktionen
-
For each (Integer A) from 1 to 8, do (Actions)
-
Ereignisse
wetterarten (1-6) these are the possible kinds of weather (setted in annother trigger) (1 and 5 are norma lweather => no change)
wettergebiete (1-8) here the 8 weather zones are stored
wetter (1-8) here the weather of zone 1-8 is stored
aktuelles wetter (1-8) here the weather effekt is saved in order to remove it when the weather changes
the problem is that this doesn't work in game