simulSetHumidity: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] ([a-zA-Z0-9_]+);?<\/code>" to "<sqf>$1 $2;</sqf>") |
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*) ([^ ]*) ([^ ]*) ([^ ]*) ?<\/code>" to "<code>$1$2$3 $4 $5 $6</code>") |
||
Line 18: | Line 18: | ||
|x1= <sqf>simulSetHumidity 1;</sqf> | |x1= <sqf>simulSetHumidity 1;</sqf> | ||
|x2= When combined with [[setOvercast]] 1 this command will also start random strength rain.<code> | |x2= When combined with [[setOvercast]] 1 this command will also start random strength rain.<code>skipTime -24; | ||
86400 [[setOvercast]] 1; | 86400 [[setOvercast]] 1; | ||
[[skipTime]] 24; | [[skipTime]] 24; | ||
[[simulSetHumidity]] 1; | [[simulSetHumidity]] 1;</code>Creates rainy looking weather, followed by thunder in about 10 seconds and rain in about 20. | ||
</code>Creates rainy looking weather, followed by thunder in about 10 seconds and rain in about 20. | |||
|seealso= [[overcast]] [[setOvercast]] | |seealso= [[overcast]] [[setOvercast]] | ||
}} | }} |
Revision as of 12:56, 12 May 2022
Description
- Description:
- Sets simul cloud cover. This command does not affect overcast value.
- 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