Category: Landscape / Material
Since engine version: 1.0 OC
Returns the internal (technical) name of a material.
string MaterialName(int material_index);
- Index of the material of which you want to know the name.
GetCursor(0)->Message("You clonk is standing on %s.", MaterialName(GetCursor(0)->GetMaterial(0, 12)));
Displays on what type of material the first player's selected clonk is standing.