setWind: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| arma2 \| *([0-9]\.[0-9]{2}) * " to " | arma2 |$1 |game2= arma2oa |version2= 1.50 |game3= tkoh |version3= 1.00 |game4= arma3 |version4= 0.50 ")
m (Text replacement - "| Nothing |x1=" to "|r1= Nothing |x1=")
Line 30: Line 30:
|p4= forced: [[Boolean]] true: wind constantly blows in set direction, false: wind can change direction (default)
|p4= forced: [[Boolean]] true: wind constantly blows in set direction, false: wind can change direction (default)


| [[Nothing]]
|r1= [[Nothing]]


|x1= <code>'''setWind''' [10, 10, true];</code>|= EXAMPLE
|x1= <code>'''setWind''' [10, 10, true];</code>|= EXAMPLE

Revision as of 10:18, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Multiplayer:
Execute on server
Groups:
Environment

Syntax

Syntax:
Syntax needed
Parameters:
[x, y, forced]: Array
x: Number Easterly component (in m/s, positive = to the east)
y: Number Northerly component (in m/s, positive = to the north)
forced: Boolean true: wind constantly blows in set direction, false: wind can change direction (default)
Return Value:
Nothing

Examples

Example 1:
setWind [10, 10, true];

Additional Information

See also:
See also needed

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