StoreCampaignDBObjectOnAll
From NWN Lexicon
Contents |
[edit] StoreCampaignDBObjectOnAll(object, string, object)
Stores a campaign DB object on all PCs of a PC's party
void StoreCampaignDBObjectOnAll( object oPC, string strVarName, object oObject );
[edit] Parameters
oPC
Player Character
strVarName
campaign DB object variable name
oObject
object to be stored
[edit] Description
Given a PC, variable name and object tag, stores a campaign database object on all Player Character members of the PC's party.
[edit] Remarks
Does not include associates.
This does not store a reference, it stores the entire actual object,
including all of its inventory. Storing many objects can be highly resource-intensive! It should NOT be used like Set/GetLocalObject.
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