GetPlayerInfoCoreVal

Category: Get*Val
Since engine version: 1.0 OC

Description

Returns the property value of a player by its name in the Player.txt.

Syntax

any GetPlayerInfoCoreVal(string entry, string section, int player, int entry_number);

Parameters

entry:
Name of the entry to be retrieved.
section:
[opt] Section of the entry to be retrieved. If not specified, all sections will be searched for an entry of the specified name.
player:
[opt] Player of which to retrieve an entry.
entry_number:
[opt] Index of the value to be retrieved if an entry contains multiple values.

Remark

For technical reasons there can not be a corresponding function SetPlayerVal.
See also: GetActMapVal, GetObjectInfoCoreVal, GetObjectVal, GetPlayerVal, GetScenarioVal
jwk, 2002-08