GetWind
Category: Environment
/ Weather
Since engine version: 5.1 OC
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.
Cucaracha, 2002-05