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:
[optional] X insert position or offset
iY:
[optional] Y insert position or offset
iXDir:
[optional] horizontal speed of material pixel to be inserte
iYDir:
[optional] vertical speed of material pixel to be inserted
See also:
ExtractMaterialAmount
,
Material
Sven2, November 2001
Clonk Developer Mode Documentation
Introduction
Contents
Search
Engine
Command Line
Game Data
Script