CastPXS

Category: Landscape
Since engine version: 4.6.5.0 CP

Description

Casts material pixels at the specified position. In local calls, the coordinates are an offset to the position of the calling object.

Syntax

void CastPXS (string szMaterial, int iAmount, int iLevel, int iX, int iY);

Parameters

szMaterial:
Material name
iAmount:
Amount
iLevel:
Strength
iX:
X coordinate
iY:
Y coordinate

Example

CastPXS("Lava", 6000, 30);
Casts 6,000 lava pixels at the position of the calling object.
See also: CastObjects, CastObjectsX
jwk, April 2002