setWindDir: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[Cc]ategory:[ _]?Arma[ _]3:[ _]([^|]*)[ _]?\|.*\]\]" to "{{GameCategory|arma3|$1}}")
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)\]\]" to "{{GameCategory|arma3|Scripting Commands}}")
Line 50: Line 50:
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Environment|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Environment|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|arma3|New_Scripting_Commands_List}}
{{GameCategory|arma3|New_Scripting_Commands_List}}

Revision as of 19:55, 9 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