aSetPLocalInt(object, string, int)

Sets a local integer on each of the party members.

void aSetPLocalInt(
    object oPC,
    string sLocalName,
    int nValue
);

Parameters

oPC

Member of the PC party.

sLocalName

Name of the variable to be stored.

nValue

Value of the integer variable to be stored.


Description

This function sets a local variable iValue on each of the players that are in the PC's party as sLocalName. This function essentially performs a SetLocalInt(object, int, string) on each member of the party.



Remarks

Found in nw_j_assassin.nss, and used to make plots more multi-player friendly.


Requirements

#include "nw_j_assassin"

Version

1.28

See Also

functions: aGetPLocalInt | GetPLocalInt | SetPLocalInt
categories: Local Variables Functions | Module Functions | Party Functions


 author: Michael Nork, editor: Charles Feduke