setLocalWindParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 7: Line 6:


|gr1= Environment |GROUP1=
|gr1= Environment |GROUP1=
____________________________________________________________________________________________


| Sets parameters for helicopter rotor wash. Visually it affects how much the grass, bushes and trees bend and how much the particles blown under a helicopter and how big is the area of the effect. Default [1.0, 1.0].<BR>
| Sets parameters for helicopter rotor wash. Visually it affects how much the grass, bushes and trees bend and how much the particles blown under a helicopter and how big is the area of the effect. Default [1.0, 1.0].<BR>
{{Informative|Both parameters can't take 0, it'll just be ignored. If you need to disable effects, put very small values.}} |DESCRIPTION=
{{Informative|Both parameters can't take 0, it'll just be ignored. If you need to disable effects, put very small values.}} |DESCRIPTION=
____________________________________________________________________________________________


| '''setLocalWindParams''' [strength, diameter] |SYNTAX=
| '''setLocalWindParams''' [strength, diameter] |SYNTAX=
Line 26: Line 23:
|x1= <code>[[setLocalWindParams]] [10, 5];</code>|EXAMPLE1=  
|x1= <code>[[setLocalWindParams]] [10, 5];</code>|EXAMPLE1=  


____________________________________________________________________________________________


| [[setWind]], [[wind]], [[setWindStr]], [[setWindDir]], [[setWindForce]], [[windDir]], [[windStr]], [[gusts]], [[setGusts]] |SEEALSO=  
| [[setWind]], [[wind]], [[setWindStr]], [[setWindDir]], [[setWindForce]], [[windDir]], [[windStr]], [[gusts]], [[setGusts]] |SEEALSO=  


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
}}
}}



Revision as of 02:46, 17 January 2021

Hover & click on the images for description

Description

Description:
Sets parameters for helicopter rotor wash. Visually it affects how much the grass, bushes and trees bend and how much the particles blown under a helicopter and how big is the area of the effect. Default [1.0, 1.0].
Both parameters can't take 0, it'll just be ignored. If you need to disable effects, put very small values.
Groups:
Environment

Syntax

Syntax:
setLocalWindParams [strength, diameter]
Parameters:
[strength, diameter]: Array
strength: Number - down-force wind strength
diameter: Number - area affected
Return Value:
Nothing

Examples

Example 1:
setLocalWindParams [10, 5];

Additional Information

See also:
setWindwindsetWindStrsetWindDirsetWindForcewindDirwindStrgustssetGusts

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

Bottom Section