SetLocalIntOnAll

From NWN Lexicon
Jump to navigationJump to search



SetLocalIntOnAll(object, string, int)

Sets a local integer on all members of PC's party

void SetLocalIntOnAll(
    object oPC,
    string strVarName,
    int nValue
);

Parameters

oPC

Player Character

strVarName

local integer variable name

nValue

integer to be stored


Description

Given a PC, variable name and integer value, sets a local integer variable on all members of the PC's party, including associates.



Remarks

Include library for party-wide functions.

NOTE: this library is included in "x0_i0_common" already.
Do NOT dual-include both files or you will get errors!


Requirements

#include " X0_I0_PARTYWIDE "

Version

1.61

See Also



 author: Peter Busby