List of global variables

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

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.exe[edit | edit source]

GameDay[edit | edit source]

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

GameDaysPassed[edit | edit source]

Returns the amount of days passed in game.

GameHour[edit | edit source]

Returns the in-game hour.

GameMonth[edit | edit source]

Returns the in-game month.

GameYear[edit | edit source]

Returns the in-game year

Timescale[edit | edit source]

Number of game minutes that passes in 1 real minute.

Default: 30


Global variables that are handled by scripts/dialogue[edit | edit source]

CrimeForceJail[edit | edit source]

EmfridBittneld[edit | edit source]

Fame[edit | edit source]

FameAkatosh[edit | edit source]

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.

FameArkay[edit | edit source]

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.

FameDibella[edit | edit source]

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.

FameJulianos[edit | edit source]

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.

FameKynareth[edit | edit source]

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.

FameMara[edit | edit source]

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.

FameStendarr[edit | edit source]

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.

FameTiberSeptim[edit | edit source]

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.

FameZenithar[edit | edit source]

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.

HasGrace[edit | edit source]

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.)

HighwaymanGotMoney[edit | edit source]

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.

KvatchDestroyed[edit | edit source]

MQ05RavenPlace[edit | edit source]

MQEndDayWeek[edit | edit source]

MS05InProgress[edit | edit source]

MS22DealGold[edit | edit source]

MS22RewardGold[edit | edit source]

MS38LastContact[edit | edit source]

OblivionCrisis[edit | edit source]

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)

PCInfamy[edit | edit source]

PCVampire[edit | edit source]

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.

RentAnvilCountsArms[edit | edit source]

RentAnvilFlowingBowl[edit | edit source]

RentBorderWatchInn[edit | edit source]

RentBravilLonelySuitor[edit | edit source]

RentBravilSilverHome[edit | edit source]

RentBrinaCross[edit | edit source]

RentBrumaJerallView[edit | edit source]

RentBrumaOlavs[edit | edit source]

RentCheydinhalBridgeInn[edit | edit source]

RentCheydinhalNewlandsLodge[edit | edit source]

RentChorrolGreyMare[edit | edit source]

RentChorrolOakandCrosier[edit | edit source]

RentDrunkenDragon[edit | edit source]

RentFaregyl[edit | edit source]

RentGottshawInn[edit | edit source]

RentHackdirtMoslinsInn[edit | edit source]

RentICAllSaintsInn[edit | edit source]

RentICBloatedFloat[edit | edit source]

RentICKingandQueen[edit | edit source]

RentICLuthorBroad[edit | edit source]

RentICMerchantsInn[edit | edit source]

RentICTiberSeptimHotel[edit | edit source]

RentIllOmen[edit | edit source]

RentImperialBridge[edit | edit source]

RentLeyawiinFiveClaws[edit | edit source]

RentLeyawiinThreeSisters[edit | edit source]

RentNewlandsLodge[edit | edit source]

RentRoxeyInn[edit | edit source]

RentSkingradTwoSistersLodge[edit | edit source]

RentSkingradWestWeladInn[edit | edit source]

RentWawnetInn[edit | edit source]

SE07GreenmoteEffect[edit | edit source]

(Shivering Isles DLC)

SE07GreenmoteFlag[edit | edit source]

(Shivering Isles DLC)

SE09CagedVictims[edit | edit source]

(Shivering Isles DLC)

SE30PiecesArrows[edit | edit source]

(Shivering Isles DLC)

SE30PiecesBoots[edit | edit source]

(Shivering Isles DLC)

SE30PiecesBow[edit | edit source]

(Shivering Isles DLC)

SE30PiecesCuirass[edit | edit source]

(Shivering Isles DLC)

SE30PiecesGauntlets[edit | edit source]

(Shivering Isles DLC)

SE30PiecesGreaves[edit | edit source]

(Shivering Isles DLC)

SE30PiecesHammerClaymore[edit | edit source]

(Shivering Isles DLC)

SE30PiecesHelmet[edit | edit source]

(Shivering Isles DLC)

SE30PiecesMaceAxe[edit | edit source]

(Shivering Isles DLC)

SE30PiecesShield[edit | edit source]

(Shivering Isles DLC)

SE30PiecesSword[edit | edit source]

(Shivering Isles DLC)

SECrimeGold[edit | edit source]

(Shivering Isles DLC)

SEFringeOrdered[edit | edit source]

(Shivering Isles DLC)

SEGatekeeperDebugNoLeash[edit | edit source]

(Shivering Isles DLC)

SEGatekeeperLeashTimer[edit | edit source]

(Shivering Isles DLC)

SEGatekeeperPerimeterLength[edit | edit source]

(Shivering Isles DLC)

SEKnightRespawn[edit | edit source]

(Shivering Isles DLC)

SEKnightRespawnDelay[edit | edit source]

(Shivering Isles DLC)

SEKnightSpawnTime[edit | edit source]

(Shivering Isles DLC)

SEObeliskMaxHearts[edit | edit source]

(Shivering Isles DLC)

SEOrderPriestResurrectTimer[edit | edit source]

(Shivering Isles DLC)

SESwordDawnfangEquip[edit | edit source]

(Shivering Isles DLC)

SESwordDawnfangKills[edit | edit source]

(Shivering Isles DLC)

SESwordDuskfangEquip[edit | edit source]

(Shivering Isles DLC)

SESwordDuskfangKills[edit | edit source]

(Shivering Isles DLC)

Sleep[edit | edit source]

TGPayoffCrimeGold[edit | edit source]

TGPriceAttack[edit | edit source]

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

Used By: Script: ???


Possible Values:

  500:  (Default)

TGPricePerKill[edit | edit source]

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

Used By: Script: ???


Possible Values:

  1000:  (Default)

TGPriceSteal[edit | edit source]

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

Used By: Script: ???


Possible Values:

  200:  (Default)

UmbacannoCount[edit | edit source]

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.