List of global variables

The following is a list of all the global variables that are used by Oblivion's various scripts. Feel free to edit each variable to explain which script controls it and if it has any use outside its original script.

Warning: This list contains spoilers!


Global variables that are handled by Oblivion.exeEdit

GameDayEdit

Returns the in-game day (day of the month).

GameDaysPassedEdit

Returns the amount of days passed in game.

GameHourEdit

Returns the in-game hour.

GameMonthEdit

Returns the in-game month.

GameYearEdit

Returns the in-game year

TimescaleEdit

Number of game minutes that passes in 1 real minute.

Default: 30


Global variables that are handled by scripts/dialogueEdit

CrimeForceJailEdit

EmfridBittneldEdit

FameEdit

FameAkatoshEdit

Stores the player's fame when visiting the shrine.

Used By: Script: AltarofAkatosh


Possible Values:

  0:  (Default)
  ?:  Set to the player's fame level if player successfully visits the shrine at the time of the visit.

FameArkayEdit

Stores the player's fame when visiting the shrine.

Used By: Script: AltarofArkay


Possible Values:

  0:  (Default)
  ?:  Set to the player's fame level if player successfully visits the shrine at the time of the visit.

FameDibellaEdit

Stores the player's fame when visiting the shrine.

Used By: Script: AltarofDibella


Possible Values:

  0:  (Default)
  ?:  Set to the player's fame level if player successfully visits the shrine at the time of the visit.

FameJulianosEdit

Stores the player's fame when visiting the shrine.

Used By: Script: AltarofJulianos


Possible Values:

  0:  (Default)
  ?:  Set to the player's fame level if player successfully visits the shrine at the time of the visit.

FameKynarethEdit

Stores the player's fame when visiting the shrine.

Used By: Script: AltarofKynareth


Possible Values:

  0:  (Default)
  ?:  Set to the player's fame level if player successfully visits the shrine at the time of the visit.

FameMaraEdit

Stores the player's fame when visiting the shrine.

Used By: Script: AltarofMara


Possible Values:

  0:  (Default)
  ?:  Set to the player's fame level if player successfully visits the shrine at the time of the visit.

FameStendarrEdit

Stores the player's fame when visiting the shrine.

Used By: Script: AltarofStendarr


Possible Values:

  0:  (Default)
  ?:  Set to the player's fame level if player successfully visits the shrine at the time of the visit.

FameTiberSeptimEdit

Stores the player's fame when visiting the shrine.

Used By: Script: AltarofTiberSeptim


Possible Values:

  0:  (Default)
  ?:  Set to the player's fame level if player successfully visits the shrine at the time of the visit.

FameZenitharEdit

Stores the player's fame when visiting the shrine.

Used By: Script: AltarofZenithar


Possible Values:

  0:  (Default)
  ?:  Set to the player's fame level if player successfully visits the shrine at the time of the visit.

HasGraceEdit

Indicates if the player has visited all of the shrines and completed the Pilgrimage of the Nine. (Knights of the Nine DLC)

Used By: Script: ???


Possible Values:

  0:  Not completed (Default)
  1:  Completed (If completed, player will have the Grace ability.)

HighwaymanGotMoneyEdit

stores if the player has paid the highwaymen or not.

Used By: Script: ???


Possible Values:

  0:  (Default)
  1:  Player gives one of the Khajit highwaymen 100 gold or is too poor to pay.

KvatchDestroyedEdit

MQ05RavenPlaceEdit

MQEndDayWeekEdit

MS05InProgressEdit

MS22DealGoldEdit

MS22RewardGoldEdit

MS38LastContactEdit

OblivionCrisisEdit

stores if player has completed the third chapter of the main quest.

Used By: Script: ???


Possible Values:

  0:  (Default)
  1:  Player has completed the third chapter of the main quest. (Find the Heir)

PCInfamyEdit

PCVampireEdit

Stores the player's stage of vampirism.

Used By: Script: VampireScript

Script: MS40PotionEffect


Possible Values:

  0:  No Vampire (Default)
1-4:  Stage of Vampirism
 -1:  Player was healed from Vampirism.

RentAnvilCountsArmsEdit

RentAnvilFlowingBowlEdit

RentBorderWatchInnEdit

RentBravilLonelySuitorEdit

RentBravilSilverHomeEdit

RentBrinaCrossEdit

RentBrumaJerallViewEdit

RentBrumaOlavsEdit

RentCheydinhalBridgeInnEdit

RentCheydinhalNewlandsLodgeEdit

RentChorrolGreyMareEdit

RentChorrolOakandCrosierEdit

RentDrunkenDragonEdit

RentFaregylEdit

RentGottshawInnEdit

RentHackdirtMoslinsInnEdit

RentICAllSaintsInnEdit

RentICBloatedFloatEdit

RentICKingandQueenEdit

RentICLuthorBroadEdit

RentICMerchantsInnEdit

RentICTiberSeptimHotelEdit

RentIllOmenEdit

RentImperialBridgeEdit

RentLeyawiinFiveClawsEdit

RentLeyawiinThreeSistersEdit

RentNewlandsLodgeEdit

RentRoxeyInnEdit

RentSkingradTwoSistersLodgeEdit

RentSkingradWestWeladInnEdit

RentWawnetInnEdit

SE07GreenmoteEffectEdit

(Shivering Isles DLC)

SE07GreenmoteFlagEdit

(Shivering Isles DLC)

SE09CagedVictimsEdit

(Shivering Isles DLC)

SE30PiecesArrowsEdit

(Shivering Isles DLC)

SE30PiecesBootsEdit

(Shivering Isles DLC)

SE30PiecesBowEdit

(Shivering Isles DLC)

SE30PiecesCuirassEdit

(Shivering Isles DLC)

SE30PiecesGauntletsEdit

(Shivering Isles DLC)

SE30PiecesGreavesEdit

(Shivering Isles DLC)

SE30PiecesHammerClaymoreEdit

(Shivering Isles DLC)

SE30PiecesHelmetEdit

(Shivering Isles DLC)

SE30PiecesMaceAxeEdit

(Shivering Isles DLC)

SE30PiecesShieldEdit

(Shivering Isles DLC)

SE30PiecesSwordEdit

(Shivering Isles DLC)

SECrimeGoldEdit

(Shivering Isles DLC)

SEFringeOrderedEdit

(Shivering Isles DLC)

SEGatekeeperDebugNoLeashEdit

(Shivering Isles DLC)

SEGatekeeperLeashTimerEdit

(Shivering Isles DLC)

SEGatekeeperPerimeterLengthEdit

(Shivering Isles DLC)

SEKnightRespawnEdit

(Shivering Isles DLC)

SEKnightRespawnDelayEdit

(Shivering Isles DLC)

SEKnightSpawnTimeEdit

(Shivering Isles DLC)

SEObeliskMaxHeartsEdit

(Shivering Isles DLC)

SEOrderPriestResurrectTimerEdit

(Shivering Isles DLC)

SESwordDawnfangEquipEdit

(Shivering Isles DLC)

SESwordDawnfangKillsEdit

(Shivering Isles DLC)

SESwordDuskfangEquipEdit

(Shivering Isles DLC)

SESwordDuskfangKillsEdit

(Shivering Isles DLC)

SleepEdit

TGPayoffCrimeGoldEdit

TGPriceAttackEdit

stores the value the player needs to pay when caught attacking an non-hostile NPC.

Used By: Script: ???


Possible Values:

  500:  (Default)

TGPricePerKillEdit

stores the value the player needs to pay when caught killing an non-hostile NPC.

Used By: Script: ???


Possible Values:

  1000:  (Default)

TGPriceStealEdit

stores the value the player needs to pay when caught stealing an item.

Used By: Script: ???


Possible Values:

  200:  (Default)

UmbacannoCountEdit

stores the number of ayleid statues player has brought to Umbacanno.

Used By: Script: MS21Script


Possible Values:

   0:  (Default)
1-10:  Number of statues player has brought to Umbacanno.