setLocalWindParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - ":<code>" to ": <code>")
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
Line 20: Line 20:


|x2= "Disables" the effects:
|x2= "Disables" the effects:
<code>[[setLocalWindParams]] [0.0001, 0.0001]; {{cc|0 values are ignored by the command}}</code>
<code>setLocalWindParams [0.0001, 0.0001]; {{cc|0 values are ignored by the command}}</code>


|x3= Reset to default:<sqf>setLocalWindParams [1, 1];</sqf>
|x3= Reset to default:<sqf>setLocalWindParams [1, 1];</sqf>

Revision as of 11:14, 12 May 2022

Hover & click on the images for description

Description

Description:
Sets parameters for helicopter rotor wash. It affects the visual effect of a rotor's downwash, such as blown particles, vegetation wind effect and area size.
Groups:
Environment

Syntax

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

Examples

Example 1:
setLocalWindParams [10, 5];
Example 2:
"Disables" the effects: setLocalWindParams [0.0001, 0.0001]; // 0 values are ignored by the command
Example 3:
Reset to default:
setLocalWindParams [1, 1];

Additional Information

See also:
setWind wind setWindStr setWindDir setWindForce windDir windStr gusts setGusts

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