SetLocalObjectOnAll

From NWN Lexicon



Contents

[edit] SetLocalObjectOnAll(object, string, object)

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

void SetLocalObjectOnAll(
    object oPC,
    string strVarName,
    object oValue
);

[edit] Parameters

oPC

Player Character

strVarName

local object variable name

oValue

object tag to be stored


[edit] Description

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



[edit] Remarks

Associates are not mentioned in documentation, but function does search for all Faction Members.

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!


[edit] Requirements

#include " X0_I0_PARTYWIDE "

[edit] Version

1.61

[edit] See Also



 author: Peter Busby
 

Personal tools
Categories