GetPlayerInfoCoreVal

Category: Get*Val
Since engine version: 4.9.1.0 GWE

Description

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

Syntax

any GetPlayerInfoCoreVal (string strEntry, string strSection, id iPlayer, int iEntryNr);

Parameters

strEntry:
Name of the entry to be retrieved
strSection:
[opt] Section of the entry to be retrieved. If 0, all sections will be searched for an entry of the specified name.
iPlayer:
[opt] Player of which to retrieve an entry.
iEntryNr:
[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, August 2002