# GetObjectInfoCoreVal

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.
The InfoCore contains personal information of one crew member. It is stored in the player in a file with the extension oci. Accordingly, GetObjectInfoCoreVal returns a property of a crew member by its name in the InfoCore.
Most useful applications for entry are already implemented in System.ocg/GetXVal.c.
var exp = obj->GetObjCoreExperience();
Determines the experience of a crewmember. GetObjCoreExperience is a global function from GetXVal.c in the System.ocg (see remark).
The above code responds to:
var exp = obj->GetObjectInfoCoreVal("Experience", "ObjectInfo");
GetDefCoreVal
GetObjectVal
GetActMapVal
GetScenarioVal
GetPlayerVal
GetPlayerInfoCoreVal
PeterW
2002-04