Category: Environment
/ Weather
Since engine version: 1.0 OC
GetWind
Description
Returns the wind's strength and direction at the specified position. In local calls, the position is an offset to the object position. If global is
true
, the global wind value is returned.Syntax
int GetWind(int x, int y, bool global);
Parameters
- x:
- X position
- y:
- Y position
- global:
- [opt] Whether to retrieve the global wind value.
See also: SetWind