setLocalWindParams: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|s([0-9])\= '''([^' ]+)'''([^ ]+) " to "|s$1= $2$3 ")
m (Some wiki formatting)
Line 6: Line 6:
|gr1= Environment
|gr1= Environment


|descr= 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>
|descr= Sets parameters for helicopter rotor wash.
{{Feature|Informative|Both parameters can't take 0, it'll just be ignored. If you need to disable effects, put very small values.}}
It affects the visual effect of a rotor's downwash, such as blown particles, vegetation wind effect and area size.


|s1= [[setLocalWindParams]] [strength, diameter]
|s1= [[setLocalWindParams]] [strength, diameter]


|p1= [strength, diameter]: [[Array]]
|p1= strength: [[Number]] - down-force wind strength


|p2= strength: [[Number]] - down-force wind strength
|p2= diameter: [[Number]] - area affected
 
|p3= diameter: [[Number]] - area affected


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


|x1= <code>[[setLocalWindParams]] [10, 5];</code>
|x1= <code>[[setLocalWindParams]] [10, 5];</code>
|x2= "Disables" the effects:<code>[[setLocalWindParams]] [0.0001, 0.0001]; {{cc|0 values are ignored by the command}}</code>
|x3= Reset to default:<code>[[setLocalWindParams]] [1, 1];</code>


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

Revision as of 18:48, 24 November 2021

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:
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