setWind: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
m (Text replacement - " \| *((\[\[[a-zA-Z0-9:]+\]\],? ?)+) \|mp=([^ ]+) \}\}" to " |seealso= $1 |mp=$3 }}")
Line 34: Line 34:
|x1= <code>'''setWind''' [10, 10, true];</code>|= EXAMPLE
|x1= <code>'''setWind''' [10, 10, true];</code>|= EXAMPLE


| [[wind]], [[setWindDir]], [[gusts]], [[setGusts]]
|seealso= [[wind]], [[setWindDir]], [[gusts]], [[setGusts]]


|mp=Execute on server
|mp=Execute on server

Revision as of 09:44, 11 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:
windsetWindDirgustssetGusts

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