aSetPLocalInt(object, string, int)

From NWN Lexicon

Sets a local integer on each of the party members.

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

Contents

[edit] Parameters

oPC
The PC or a member of the PC's party.
sLocalName
Name of the variable to be stored.
nValue
Value of the integer variable to be stored.

[edit] Description

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

[edit] Remarks

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

[edit] Requirements

#include "nw_j_assassin"

[edit] Version

1.28

[edit] See Also

functions:  SetPLocalInt, aGetPLocalInt



 author: Michael Nork, editor: Charles Feduke

Personal tools
Categories