setHumidity: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Text replacement - "|branch= dev " to "")
Line 3: Line 3:
|game1= arma3
|game1= arma3
|version1= 2.08
|version1= 2.08
|branch= dev
|gr1= Environment
|gr1= Environment



Revision as of 17:59, 8 March 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