Clonk Developer Mode Documentation
Introduction
Contents
Search
Engine
Command Line
Game Data
Script
InsertMaterial
Category:
Landscape / Material
Since engine version:
4.6.5.0 CP (extended in 4.9.1.0 GWE)
Description
Inserts a material pixel at the given position and given speed.
Syntax
bool
InsertMaterial (
int
iMat,
int
iX,
int
iY,
int
iXDir,
int
iYDir);
Parameters
iMat:
Material to be inserted (see
Material
()).
iX:
[opt] X insert position or offset
iY:
[opt] Y insert position or offset
iXDir:
[opt] horizontal speed of material pixel to be inserte
iYDir:
[opt] vertical speed of material pixel to be inserted
See also:
InsertMaterialAmount
,
Material
Sven2, November 2001
Clonk Developer Mode Documentation
Introduction
Contents
Search
Engine
Command Line
Game Data
Script