GetWind

Category: Environment / Weather
Since engine version: 4.6.5.0 CP (extended in 4.9.5.0 CE)

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 fGlobal is true, the global wind value is returned.

Syntax

int GetWind (int iX, int iY, bool fGlobal);

Parameters

iX:
X position
iY:
Y position
fGlobal:
[opt] Whether to retrieve the global wind value. From CE.
See also: SetWind
Cucaracha, Mai 2002