Forum Jump :

Author Message


Posts: 1589
Rank:


Level: Member

Country: pf
Location: Tahiti
Occupation: too many Arma
Age: 57
In-game name: Kobayashi Maru

 
#185249 Posted at 2016-01-12 17:18        
     
I don't know how DUWS sets the weather but generally this comes with description.ext and possible parameters at start.
You could try to add in init.sqf (if this file doesn't exist, create it in the mission folder):
waitUntil {!isNil "bis_fnc_Init"}; // in case of SP mission
if (!isServer) exitwith {};
0 setFog [1, 0.03, 0];

In MP, the 2 last lines should be sufficient. See initialization order here.

The fact you use an array is OK for the Arma3 version > 0.56. This is now a server command synchronizing theses settings on all clients.

PLEASE CONTACT ME ON BI FORUMS FOR ANY SCRIPT / MOD QUESTION. TKS