simulSetHumidity: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ")
No edit summary
 
(11 intermediate revisions by 2 users not shown)
Line 8: Line 8:
|gr2= Broken Commands
|gr2= Broken Commands


|descr= Sets simul cloud cover. This command does not affect overcast value. {{Feature|Warning|This command is no longer available.}}
|descr= Sets simul cloud cover. This command does not affect overcast value.<br /><br />


|s1= '''simulSetHumidity''' humidity
This command was not implemented up until {{GVI|arma3|2.18}}
 
|s1= [[simulSetHumidity]] humidity


|p1= humidity: [[Number]] - 0 (min): clear sky, 1 (max): heavy cloud cover
|p1= humidity: [[Number]] - 0 (min): clear sky, 1 (max): heavy cloud cover
Line 16: Line 18:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>[[simulSetHumidity]] 1;</code>
|x1= <sqf>simulSetHumidity 1;</sqf>
 
|x2= When combined with [[setOvercast]] 1 this command will also start random strength rain.<sqf>
skipTime -24;
86400 setOvercast 1;
skipTime 24;
simulSetHumidity 1;
</sqf>Creates rainy looking weather, followed by thunder in about 10 seconds and rain in about 20.


|x2= When combined with [[setOvercast]] 1 this command will also start random strength rain.<code>[[skipTime]] -24;
|seealso= [[overcast]] [[setOvercast]]
86400 [[setOvercast]] 1;
}}
[[skipTime]] 24;
[[simulSetHumidity]] 1;
</code>Creates rainy looking weather, followed by thunder in about 10 seconds and rain in about 20.


|seealso= [[overcast]], [[setOvercast]]
{{Note
|user= Dedmen
|timestamp= 20250318155735
|text= setOvercast 1 and simulSetHumidity 0, can cause thunderstorm with lightning on a clear sky.<br>
You can also setOvercast 0 to have a cloudless sky, but use SetHumidity to bring the clouds back
}}
}}

Latest revision as of 17:57, 18 March 2025

Hover & click on the images for description

Description

Description:
Sets simul cloud cover. This command does not affect overcast value.

This command was not implemented up until Arma 3 logo black.png 2.18
Groups:
EnvironmentBroken Commands

Syntax

Syntax:
simulSetHumidity humidity
Parameters:
humidity: Number - 0 (min): clear sky, 1 (max): heavy cloud cover
Return Value:
Nothing

Examples

Example 1:
simulSetHumidity 1;
Example 2:
When combined with setOvercast 1 this command will also start random strength rain.
skipTime -24; 86400 setOvercast 1; skipTime 24; simulSetHumidity 1;
Creates rainy looking weather, followed by thunder in about 10 seconds and rain in about 20.

Additional Information

See also:
overcast setOvercast

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Dedmen - c
Posted on Mar 18, 2025 - 15:57 (UTC)
setOvercast 1 and simulSetHumidity 0, can cause thunderstorm with lightning on a clear sky.
You can also setOvercast 0 to have a cloudless sky, but use SetHumidity to bring the clouds back