Djinni Wiki
Advertisement

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

This will remove ANY campaign variable. Regardless of type. Note that by normal database standards, deleting does not actually removed the entry from the database, but flags it as deleted. Do not expect the database files to shrink in size from this command. If you want to 'pack' the database, you will have to do it externally from the game.

  • Return type: void
  • Include file: nwscriptdefn
Advertisement