# GetMaterialVal

Get*Val
5.1 OC
any
string entry Name of the entry to be retrieved.
string section Section of the entry to be retrieved. If not specified, all sections will be searched for an entry of the specified name.
int material Number of the material of which to retrieve an entry.
int entry_number Index of the value to be retrieved if an entry contains multiple values.
Returns the property value of a material definition by its name in the material file.
GetMaterialVal("BlastFree", "Material", GetMaterial(20, 0))
Tests whether the landscape on the right of the calling clonk can be blasted away.
GetMaterial
Material
PeterW
2003-06