SetCampaignDBIntOnAll
From NWN Lexicon
Contents |
[edit] SetCampaignDBIntOnAll(object, string, int)
Sets a campaign DB integer on all PCs in PC's party
void SetCampaignDBIntOnAll( object oPC, string strVarName, int nValue );
[edit] Parameters
oPC
Player Character
strVarName
campaign DB integer variable name
nValue
integer to be stored
[edit] 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.
[edit] 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!
[edit] Requirements
#include " X0_I0_PARTYWIDE "
[edit] Version
1.61
[edit] See Also
author: Peter Busby