setWind (VBS2)
From Bohemia Interactive Community
| Editors, please check Policy: Scripting Command Page Syntax. |
Click on the images for descriptions
Introduced in
- Game:
- Virtual Battlespace 2
- Version:
- 1.21
Description
- Description:
- Sets the strength and direction of wind.
Syntax
- Syntax:
- setWind [direction, strength, static]
- Parameters:
- direction: Number - azimuth
- strength: Number - m/sec
- static: Boolean - if true, then wind direction and strength won't be changed in time (local gusts will be still present though).
- Return Value:
- Nothing
Examples
- Example 1:
setWind [10, 0, true];
Additional Information
- Multiplayer:
- Behaviour unknown.

