setWindDir

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 0.50
  Effects of this scripting command are broadcasted over the network and happen on every computer in the network

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
0.50

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.

Syntax

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

Examples

Example 1:
60 setWindDir 180

Additional Information

Multiplayer:
Execute on server
See also:
windDir

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

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

Bottom Section