Djinni Wiki
Advertisement

function SetCampaignInt (string sCampaignName, string sVarName, int nInt, object oPlayer=OBJECT_INVALID)

This stores an int out to the specified campaign database The database name IS case sensitive and it must be the same for both set and get functions. The var name must be unique acrossed the entire database, regardless of the varible type. If you want a variable to pertain to a specific player in the game, provide a player object.

  • Return type: void
  • Include file: nwscriptdefn
Advertisement