SetLocalLocationOnAll

From NWN Lexicon
Jump to navigationJump to search



SetLocalLocationOnAll(object, string, location)

Sets a local location variable on all members of PC's party

void SetLocalLocationOnAll(
    object oPC,
    string strVarName,
    location locValue
);

Parameters

oPC

Player Character

strVarName

local location variable name

locValue

location to be stored


Description

Given a PC, variable name and location, sets a local location 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