humidity: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|" to "|") |
Lou Montana (talk | contribs) m (Text replacement - " \| *('''[a-zA-Z0-9]+''') \|r1=" to " \|s1= $1 |r1=") |
||
Line 9: | Line 9: | ||
| Returns the current humidity value. 0 is no humidity and 1 is 100% humidity. Humidity value quickly changes from 0 to 1 when rain starts, then slowly changes from 1 to 0 when rain stops. | | Returns the current humidity value. 0 is no humidity and 1 is 100% humidity. Humidity value quickly changes from 0 to 1 when rain starts, then slowly changes from 1 to 0 when rain stops. | ||
| '''humidity''' | \|s1= '''humidity''' | ||
|r1= [[Number]] | |r1= [[Number]] |
Revision as of 15:41, 13 June 2021
Description
- Description:
- Description needed
- Groups:
- Environment
Syntax
- Syntax:
- humidity
- Return Value:
- Number
Examples
- Example 1:
currentHumidity = humidity;
- Example 2:
skipTime -24; 86400 setOvercast 1; skipTime 24; [] spawn { 10 setRain 1; sleep 10; 10 setRain 0; }; onEachFrame { hintSilent str [round (rain * 10) / 10, round (humidity * 10) / 10]; };
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