Id like to run a random weather script at the beginning of the mission. Problem... "Join in Progress" (not all clients have the same weather)
feuer_an = false;
?(!(local server)):exit
? startwetter < 1: goto "Condition1"
? startwetter < 2: goto "Condition2"
? startwetter < 3: goto "Condition3"
? startwetter < 4: goto "Condition4"
? startwetter < 5: goto "Condition5"
;Morgendämmerung, Klare Sicht, Regen
#Condition1
skiptime 4.5
0 setFog 0
0 setOvercast 1
feuer_an = true;
exit
;Morgendämmerung, Halbe Sicht, Regen
#Condition2
skiptime 4.5
0 setFog 0.5
0 setOvercast 1
feuer_an = true;
exit
;Morgendämmerung, Nebel, Regen
#Condition3
skiptime 4.5
0 setFog 1
0 setOvercast 1
feuer_an = true;
exit
;Morgendämmerung, Klare Sicht
#Condition4
skiptime 4.5
0 setFog 0
0 setOvercast 0
feuer_an = true;
exit
;Morgendämmerung, Halbe Sicht
#Condition5
skiptime 4.5
0 setFog 0.5
0 setOvercast 0
feuer_an = true;
exit
?!(local Server):exit
startwetter = random 24;
publicvariable "startwetter";
exit
Any Idea to run this correct on a Dedi?
I hope someone can help me with the prob ...thx and greez Sgt.Ace