SetCampaignDBVectorOnAll

From NWN Lexicon
Jump to navigationJump to search



SetCampaignDBVectorOnAll(object, string, vector)

Sets a campaign DB vector variable on all PCs in a PC's party

void SetCampaignDBVectorOnAll(
    object oPC,
    string strVarName,
    vector vValue
);

Parameters

oPC

Player Character

strVarName

campaign DB vector variable name

vValue

vector to be stored


Description

Given a PC, variable name and vector, sets a campaign database vector variable on all Player Character members of the PC's party.



Remarks

Does not include associates.

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