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
);

Parameters

oPC

Player Character

strVarName

campaign DB object variable name

oObject

object to be stored


Description

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



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!


Requirements

#include "X0_I0_PARTYWIDE"

Version

1.61

See Also

categories: Database Functions | Party Functions


 author: Peter Busby