setRain: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (+ Category)
mNo edit summary
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| time '''setRain''' rainDensity |= Syntax
| TransitionTime '''setRain''' rainDensity |= Syntax


|p1= time: [[Number]] |= Parameter 1
|p1= TransitionTime : [[Number]]. Seconds |= Parameter 1


|p2= rainDensity: [[Number]] |= Parameter 2
|p2= rainDensity: [[Number]]. Range 0 to 1 |= Parameter 2


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value

Revision as of 09:02, 31 August 2007

Hover & click on the images for description

Description

Description:
Set rain density smoothly during the given time (in seconds). A time of zero means an immediate change. A rain level of zero is no rain and a rain level of one is maximum rain Rain is not possible when overcast is smaller than 0.7.
Groups:
Uncategorised

Syntax

Syntax:
TransitionTime setRain rainDensity
Parameters:
TransitionTime : Number. Seconds
rainDensity: Number. Range 0 to 1
Return Value:
Nothing

Examples

Example 1:
60 setRain 1

Additional Information

See also:
See also needed

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

Notes

Bottom Section