SetCampaignDBFloat

From NWN Lexicon
Jump to navigationJump to search


SetCampaignDBFloat(object, string, float)

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

void SetCampaignDBFloat(
    object oPC,
    string sVarname, 
    float 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 float 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: 

SetCampaignFloat



author: Baragg, editor: Mistress