GetPLocalInt(object, string)
Determines the value of a locally stored variable from any PC in a party.
int GetPLocalInt( object oPC, string sLocalName );
Parameters
oPC
PC whose party will be searched for the local variable.
sLocalName
Local variable name to get the value.
Description
Scans through all players in the party, to treat them all as a single entity for the purposes of most plots. This makes BioWare plots more multi-player friendly.
Remarks
Although not absolutely necessary, SetPLocalInt should be used. SetPLocalInt sets a local variable to all party members. With these two functions a multiplayer game can handle some players leaving and new players entering mid game.
GetPLocalInt is short for GetPartyLocalInt.
Same as aGetPLocalInt(object, string).
Requirements
#include "nw_i0_plot"
Version
1.28
See Also
functions: | aGetPLocalInt | aSetPLocalInt | SetPLocalInt |
categories: | Local Variables Functions | Module Functions | Party Functions |
author: Tom Cassiotis, editor: Charles Feduke