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.exe
GameDay
Returns the in-game day (day of the month).
GameDaysPassed
Returns the amount of days passed in game.
GameHour
Returns the in-game hour.
GameMonth
Returns the in-game month.
GameYear
Returns the in-game year
Timescale
Number of game minutes that passes in 1 real minute.
Default: 30
Global variables that are handled by scripts/dialogue
CrimeForceJail
EmfridBittneld
Fame
FameAkatosh
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
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
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
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
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
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
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
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
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
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
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
MQ05RavenPlace
MQEndDayWeek
MS05InProgress
MS22DealGold
MS22RewardGold
MS38LastContact
OblivionCrisis
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
PCVampire
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
RentAnvilFlowingBowl
RentBorderWatchInn
RentBravilLonelySuitor
RentBravilSilverHome
RentBrinaCross
RentBrumaJerallView
RentBrumaOlavs
RentCheydinhalBridgeInn
RentCheydinhalNewlandsLodge
RentChorrolGreyMare
RentChorrolOakandCrosier
RentDrunkenDragon
RentFaregyl
RentGottshawInn
RentHackdirtMoslinsInn
RentICAllSaintsInn
RentICBloatedFloat
RentICKingandQueen
RentICLuthorBroad
RentICMerchantsInn
RentICTiberSeptimHotel
RentIllOmen
RentImperialBridge
RentLeyawiinFiveClaws
RentLeyawiinThreeSisters
RentNewlandsLodge
RentRoxeyInn
RentSkingradTwoSistersLodge
RentSkingradWestWeladInn
RentWawnetInn
SE07GreenmoteEffect
(Shivering Isles DLC)
SE07GreenmoteFlag
(Shivering Isles DLC)
SE09CagedVictims
(Shivering Isles DLC)
SE30PiecesArrows
(Shivering Isles DLC)
SE30PiecesBoots
(Shivering Isles DLC)
SE30PiecesBow
(Shivering Isles DLC)
SE30PiecesCuirass
(Shivering Isles DLC)
SE30PiecesGauntlets
(Shivering Isles DLC)
SE30PiecesGreaves
(Shivering Isles DLC)
SE30PiecesHammerClaymore
(Shivering Isles DLC)
SE30PiecesHelmet
(Shivering Isles DLC)
SE30PiecesMaceAxe
(Shivering Isles DLC)
SE30PiecesShield
(Shivering Isles DLC)
SE30PiecesSword
(Shivering Isles DLC)
SECrimeGold
(Shivering Isles DLC)
SEFringeOrdered
(Shivering Isles DLC)
SEGatekeeperDebugNoLeash
(Shivering Isles DLC)
SEGatekeeperLeashTimer
(Shivering Isles DLC)
SEGatekeeperPerimeterLength
(Shivering Isles DLC)
SEKnightRespawn
(Shivering Isles DLC)
SEKnightRespawnDelay
(Shivering Isles DLC)
SEKnightSpawnTime
(Shivering Isles DLC)
SEObeliskMaxHearts
(Shivering Isles DLC)
SEOrderPriestResurrectTimer
(Shivering Isles DLC)
SESwordDawnfangEquip
(Shivering Isles DLC)
SESwordDawnfangKills
(Shivering Isles DLC)
SESwordDuskfangEquip
(Shivering Isles DLC)
SESwordDuskfangKills
(Shivering Isles DLC)
Sleep
TGPayoffCrimeGold
TGPriceAttack
stores the value the player needs to pay when caught attacking an non-hostile NPC.
Used By: | Script: ??? |
---|
Possible Values:
500: (Default)
TGPricePerKill
stores the value the player needs to pay when caught killing an non-hostile NPC.
Used By: | Script: ??? |
---|
Possible Values:
1000: (Default)
TGPriceSteal
stores the value the player needs to pay when caught stealing an item.
Used By: | Script: ??? |
---|
Possible Values:
200: (Default)
UmbacannoCount
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.