setWindStr: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory *\| *arma3 *\| *(New )?Scripting Commands\}\}" to "")
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3")
Line 7: Line 7:
|gr1= Environment
|gr1= Environment


| Changes the wind strength smoothly during the given time (in seconds). A time of zero means there will be an immediate change.
|descr= Changes the wind strength smoothly during the given time (in seconds). A time of zero means there will be an immediate change.


|s1=  time '''setWindStr''' value
|s1=  time '''setWindStr''' value

Revision as of 22:19, 13 June 2021

Hover & click on the images for description

Description

Description:
Changes the wind strength smoothly during the given time (in seconds). A time of zero means there will be an immediate change.
Groups:
Environment

Syntax

Syntax:
time setWindStr value
Parameters:
time: Number
value: Number - new value in range 1...0
Return Value:
Nothing

Examples

Example 1:
60 setWindStr 0.8; // set the wind strength to 0.8 gradually over the next 60 seconds

Additional Information

See also:
setWind setWindForce

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