Djinni Wiki

function GetCampaignFloat (string sCampaignName, string sVarName, object oPlayer=OBJECT_INVALID)

This will read a float from 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: float
  • Include file: nwscriptdefn