SetCampaignDBStringOnAll
From NWN Lexicon
Jump to navigationJump to search
SetCampaignDBStringOnAll(object, string, string)
Sets a campaign string variable on all PCs in a PC's party
void SetCampaignDBStringOnAll(
object oPC,
string strVarName,
string strValue
);
Parameters
oPC
Player Character
strVarName
campaign DB variable name
strValue
string to be stored
Description
Given a PC, variable name and string value, sets the campaign database string 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