setHumidity

From Bohemia Interactive Community
Jump to navigation Jump to search
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