CastPXSX
Category: Landscape
Since engine version: 4.9.7.0 CR
Description
Casts material pixels at the specified position in the specified angle. In local calls, the coordinates are an offset to the position of the calling object.
Syntax
int CastPXSX
(string szMaterial, int iAmount, int iLevel, int iX, int iY, int angs, int angw);
Parameters
- szMaterial:
Material name
- iAmount:
Amount
- iLevel:
Strength
- iX:
X coordinate
- iY:
Y coordinate
- angs:
Cast angle
- angw:
Example
CastPXSX("Lava", 6000, 30,0,0,90);
Casts 6,000 lava pixels upwards at the position of the calling object.
jwk, April 2002