setWindDir: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 16: | Line 16: | ||
|s1= time [[setWindDir]] value | |s1= time [[setWindDir]] value | ||
|p1= time: [[Number]] - Transition time in seconds. {{ | |p1= time: [[Number]] - Transition time in seconds. {{hl|0}} will cause the change to be immediate | ||
|p2= value: [[Number]] - Azimuth | |p2= value: [[Number]] - Azimuth | ||
Line 36: | Line 36: | ||
}} | }} | ||
{{Note | |||
|user= Waffle SS. | |||
|timestamp= 20140412204600 | |||
|text= Seems to make wind [0, 0] in MP. ({{arma3}} v1.00) | |||
}} | |||
Revision as of 16:16, 26 July 2022
Description
- Description:
- Changes the wind direction smoothly.
- Multiplayer:
- Effect is global only when executed on the server. On clients wind direction will sync to server value in a while.
- Groups:
- Environment
Syntax
- Syntax:
- time setWindDir value
- Parameters:
- time: Number - Transition time in seconds. 0 will cause the change to be immediate
- value: Number - Azimuth
- Return Value:
- Nothing
Alternative Syntax
- Syntax:
- setWindDir direction
- Parameters:
- direction: Array - Flat wind direction and strength in format Position2D
- Return Value:
- Nothing
Examples
- Example 1:
- 60 setWindDir 180;
- Example 2:
- setWindDir [1, -15];
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
- Posted on Apr 12, 2014 - 20:46 (UTC)
- Seems to make wind [0, 0] in MP. (Arma 3 v1.00)