setHumidity: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{RV|type=command |game1= arma3 |version1= 2.08 |branch= dev |gr1= Environment |eff= local |descr= Sets surface humidity. Affects how footsteps sound (dry / wet). humidi...")
 
m (Some wiki formatting)
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
|game1= arma3
|game1= arma3
|version1= 2.08
|version1= 2.08
|branch= dev
|gr1= Environment
|gr1= Environment


Line 10: 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...1
|p1= humidity: [[Number]] - surface humidity in the range 0..1


|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <sqf>setHumidity 1;</sqf>


|x1= <code>[[setHumidity]] 1;</code>
|seealso= [[humidity]] [[setRain]]
 
 
|seealso= [[humidity]], [[setRain]]
}}
}}

Latest revision as of 11:45, 3 May 2022

Hover & click on the images for description

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

See also:
humidity setRain

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