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