# GetObjectVal

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 entry_number Index of the value to be retrieved if an entry contains multiple values.
Returns the property value of an object by its name in the Objects.txt.
Most useful applications for entry are already implemented in System.ocg/GetXVal.c.
see GetDefCoreVal
GetDefCoreVal
GetObjectInfoCoreVal
GetActMapVal
GetScenarioVal
GetPlayerVal
GetPlayerInfoCoreVal
PeterW
2002-04