setWindDir: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[cC]ommand[_ ][gG]roup:[_ ][^|]+\|\{*uc:{{PAGENAME}*]\]" to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma3 |Game name=
| arma3


|0.50|Game version=
|0.50


|gr1= Environment |GROUP1=
|gr1= Environment




|eff= global |Multiplayer Effects=
|eff= global


| Changes the wind direction smoothly during the given time (in seconds). A time of zero means there will be an immediate change.  <br>
| Changes the wind direction smoothly during the given time (in seconds). A time of zero means there will be an immediate change.  <br>
'''NOTE''': Effect is global only when executed on the server. On clients wind direction will sync to server value in a while. |DESCRIPTION=
'''NOTE''': Effect is global only when executed on the server. On clients wind direction will sync to server value in a while.


| time '''setWindDir''' value |SYNTAX=
| time '''setWindDir''' value


|p1= time: [[Number]] |PARAMETER1=
|p1= time: [[Number]]


|p2= value: [[Number]] - Azimuth. |PARAMETER2=
|p2= value: [[Number]] - Azimuth.


| [[Nothing]] |RETURNVALUE=
| [[Nothing]]




|x1= <code>60 '''setWindDir''' 180</code>|EXAMPLE1=
|x1= <code>60 '''setWindDir''' 180</code>




| [[windDir]] |SEEALSO=
| [[windDir]]


| mp= Execute on server |MPBEHAVIOUR=
| mp= Execute on server
}}
}}



Revision as of 12:28, 18 January 2021

Hover & click on the images for description

Description

Description:
Changes the wind direction smoothly during the given time (in seconds). A time of zero means there will be an immediate change.
NOTE: Effect is global only when executed on the server. On clients wind direction will sync to server value in a while.
Multiplayer:
Execute on server
Groups:
Environment

Syntax

Syntax:
time setWindDir value
Parameters:
time: Number
value: Number - Azimuth.
Return Value:
Nothing

Examples

Example 1:
60 setWindDir 180

Additional Information

See also:
windDir

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

Posted on April 12, 2014
Waffle SS.
Seems to make wind [0,0] in MP. (Arma 3 1.00)

Bottom Section