setHumidity: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|branch= dev " to "") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 8: | Line 8: | ||
|descr= Sets surface humidity. Affects how footsteps sound (dry / wet). [[humidity]] is increasing when raining and decreasing when not raining. Exception is if the rain is set with 'snow' flag, then [[humidity]] is not updated. | |descr= Sets surface humidity. Affects how footsteps sound (dry / wet). [[humidity]] is increasing when raining and decreasing when not raining. Exception is if the rain is set with 'snow' flag, then [[humidity]] is not updated. | ||
|s1= [[setHumidity]] humidity | |s1= [[setHumidity]] humidity | ||
|p1= humidity: [[Number]] - surface humidity in the range 0 | |p1= humidity: [[Number]] - surface humidity in the range 0..1 | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= <sqf>setHumidity 1;</sqf> | |||
|x1= < | |||
|seealso= [[humidity]] [[setRain]] | |seealso= [[humidity]] [[setRain]] | ||
}} | }} |
Latest revision as of 11:45, 3 May 2022
Description
- Description:
- Sets surface humidity. Affects how footsteps sound (dry / wet). humidity is increasing when raining and decreasing when not raining. Exception is if the rain is set with 'snow' flag, then humidity is not updated.
- Groups:
- Environment
Syntax
- Syntax:
- setHumidity humidity
- Parameters:
- humidity: Number - surface humidity in the range 0..1
- Return Value:
- Nothing
Examples
- Example 1:
- setHumidity 1;
Additional Information
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