setWind: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
||
Line 54: | Line 54: | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | |||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Command_Group:_Environment|{{uc:{{PAGENAME}}}}]] | [[Category:Command_Group:_Environment|{{uc:{{PAGENAME}}}}]] | ||
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]] | [[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]] |
Revision as of 12:07, 25 March 2013
Description
- Description:
- Set current (forced == false) or permanent (forced == true) wind direction and force.
- Groups:
- Uncategorised
Syntax
- Syntax:
- setWind [x, z, forced]
- Parameters:
- [x, z, forced]: Array
- x: Number
- z: Number
- forced: Boolean
- Return Value:
- Nothing
Examples
- Example 1:
setWind [10,10, true];
Additional Information
- See also:
- wind
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
setWind [10,10, true]= Winddirection South West with a windforce factor of 10 (probably Beaufort scale, compares to 48-55knots).
I have tested the following values:
[10,10, true]; = South West
[10,-10, true]; = North West
[-10,10, true]; = South East
[-10,-10, true]; = North East
[-10,0, true]; = East
[0,-10, true]; = North
[10,0, true]; = West
[0,10, true]; = South