SetWind

Category: Environment / Weather
Since engine version: 4.6.5.0 CP

Description

Temporarily sets the global wind velocity and direction.

Syntax

void SetWind (int iWind);

Parameter

iWind:
Wind velocity from -100 to 100.

Example

/* Nach Links pusten */
protected func ControlLeft()
{
	SetWind(-100);
	return(1);
}

/* Nach Rechts pusten */
protected func ControlRight()
{
	SetWind(100);
	return(1);
}
				
Blowing clonk
See also: GetWind
wipfmetz, August 2002