DeleteCampaignDBVariableOnAll(object, string)

Deletes a campaign DB variable from all PCs in a PC's party.

void DeleteCampaignDBVariableOnAll(
    object oPC,
    string strVarName
);

Parameters

oPC

Player Character

strVarName

campaign DB variable name


Description

Given a PC and a variable name, deletes all campaign database variables of that name from the Player Characters in the PC's party.



Remarks

Does not apply to 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!

[This should be the definitive answer to whether or not different names should be used for different variable types for local and campaign variables - you are safer using exclusive variable names.]


Requirements

#include "X0_I0_PARTYWIDE"

Version

1.61

See Also

categories: Database Functions | Party Functions


 author: Peter Busby