Smoke

Category: Environment / Effects
Since engine version: 4.6.5.0 CP

Description

Creates smoke at the specified position with specified color.

Syntax

void Smoke (int iX, int iY, int iLevel, int dwClr);

Parameters

iX:
X position of the smoke. In a local call this is an offset.
iY:
Y position of the smoke. In a local call this is an offset.
iLevel:
Size of the smoke
dwClr:
Color of the smoke

Example

Smoke(0,0,50, RGB(255,0,0));
Object script: the object creates a puff of red smoke.
Sven2, August 2002