SetCampaignDBInt

From NWN Lexicon
Jump to navigationJump to search


SetCampaignDBInt(object, string, int)

Set a campaign int on a player in the default database for this module.

void SetCampaignDBInt(
    object oPC,
    string sVarname,
    int value
);

Parameters

oPC

Player this variable is attached to.

sVarname

Name of the variable to set.

value

The value to save in sVarname.


Description

Set a campaign int on a player in the default database for this module.



Remarks

This is a wrapper for GetCampaignDBName as the first parameter.


Requirements

#include " x0_i0_campaign "


Version

???

See Also

functions: 

SetCampaignInt



author: Baragg, editor: Mistress