Difference between revisions of "List of global variables"
imported>JOG m (Global Variable List moved to List of global variables) |
imported>Darkness X |
||
(10 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
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. | 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= | =Global variables that are handled by Oblivion.exe= | ||
==GameDay== | ==GameDay== | ||
Returns the in-game day ( | Returns the in-game day (day of the month). | ||
==GameDaysPassed== | ==GameDaysPassed== | ||
Line 32: | Line 31: | ||
=Global variables that are handled by scripts/dialogue= | |||
=Global variables that are handled by scripts= | |||
==CrimeForceJail== | ==CrimeForceJail== | ||
Line 40: | Line 37: | ||
==Fame== | ==Fame== | ||
==FameAkatosh== | ==FameAkatosh== | ||
Stores the player's fame when visiting the shrine. | |||
{|border="1" cellpadding="5" cellspacing="0" | |||
! style="background:#efefef;" |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== | ==FameArkay== | ||
Stores the player's fame when visiting the shrine. | |||
{|border="1" cellpadding="5" cellspacing="0" | |||
! style="background:#efefef;" |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== | ==FameDibella== | ||
Stores the player's fame when visiting the shrine. | |||
{|border="1" cellpadding="5" cellspacing="0" | |||
! style="background:#efefef;" |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== | ==FameJulianos== | ||
Stores the player's fame when visiting the shrine. | |||
{|border="1" cellpadding="5" cellspacing="0" | |||
! style="background:#efefef;" |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== | ==FameKynareth== | ||
Stores the player's fame when visiting the shrine. | |||
{|border="1" cellpadding="5" cellspacing="0" | |||
! style="background:#efefef;" |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== | ==FameMara== | ||
Stores the player's fame when visiting the shrine. | |||
{|border="1" cellpadding="5" cellspacing="0" | |||
! style="background:#efefef;" |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== | ==FameStendarr== | ||
Stores the player's fame when visiting the shrine. | |||
{|border="1" cellpadding="5" cellspacing="0" | |||
! style="background:#efefef;" |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== | ==FameTiberSeptim== | ||
Stores the player's fame when visiting the shrine. | |||
{|border="1" cellpadding="5" cellspacing="0" | |||
! style="background:#efefef;" |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. | |||
{|border="1" cellpadding="5" cellspacing="0" | |||
! style="background:#efefef;" |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== | ==HasGrace== | ||
Indicates if the player has visited all of the shrines and completed the Pilgrimage of the Nine. (Knights of the Nine DLC) | |||
{|border="1" cellpadding="5" cellspacing="0" | |||
! style="background:#efefef;" |Used By: | |||
|Script: ''???'' | |||
|} | |||
Possible Values: | |||
0: Not completed (Default) | |||
1: Completed (If completed, player will have the Grace ability.) | |||
==HighwaymanGotMoney== | ==HighwaymanGotMoney== | ||
stores if the player has paid the highwaymen or not. | |||
{|border="1" cellpadding="5" cellspacing="0" | |||
! style="background:#efefef;" |Used By: | |||
|Script: ''???'' | |||
|} | |||
Possible Values: | |||
0: (Default) | |||
1: Player gives one of the Khajit highwaymen 100 gold or is too poor to pay. | |||
==KvatchDestroyed== | ==KvatchDestroyed== | ||
==MQ05RavenPlace== | ==MQ05RavenPlace== | ||
Line 57: | Line 176: | ||
==MS38LastContact== | ==MS38LastContact== | ||
==OblivionCrisis== | ==OblivionCrisis== | ||
stores if player has completed the third chapter of the main quest. | |||
{|border="1" cellpadding="5" cellspacing="0" | |||
! style="background:#efefef;" |Used By: | |||
|Script: ''???'' | |||
|} | |||
Possible Values: | |||
0: (Default) | |||
1: Player has completed the third chapter of the main quest. (Find the Heir) | |||
==PCInfamy== | |||
==PCVampire== | ==PCVampire== | ||
Stores the player's stage of vampirism. | Stores the player's stage of vampirism. | ||
{|border="1" cellpadding="5" cellspacing="0" | |||
! style="background:#efefef;" |Used By: | |||
|Script: ''VampireScript'' | |||
Script: ''MS40PotionEffect'' | |||
|} | |||
:'' | |||
Line 102: | Line 234: | ||
==RentSkingradWestWeladInn== | ==RentSkingradWestWeladInn== | ||
==RentWawnetInn== | ==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== | ==Sleep== | ||
==TGPayoffCrimeGold== | ==TGPayoffCrimeGold== | ||
==TGPriceAttack== | ==TGPriceAttack== | ||
stores the value the player needs to pay when caught attacking an non-hostile NPC. | |||
{|border="1" cellpadding="5" cellspacing="0" | |||
! style="background:#efefef;" |Used By: | |||
|Script: ''???'' | |||
|} | |||
Possible Values: | |||
500: (Default) | |||
==TGPricePerKill== | ==TGPricePerKill== | ||
stores the value the player needs to pay when caught killing an non-hostile NPC. | |||
{|border="1" cellpadding="5" cellspacing="0" | |||
! style="background:#efefef;" |Used By: | |||
|Script: ''???'' | |||
|} | |||
Possible Values: | |||
1000: (Default) | |||
==TGPriceSteal== | ==TGPriceSteal== | ||
stores the value the player needs to pay when caught stealing an item. | |||
{|border="1" cellpadding="5" cellspacing="0" | |||
! style="background:#efefef;" |Used By: | |||
|Script: ''???'' | |||
|} | |||
Possible Values: | |||
200: (Default) | |||
==UmbacannoCount== | ==UmbacannoCount== | ||
stores the number of ayleid statues player has brought to Umbacanno. | |||
{|border="1" cellpadding="5" cellspacing="0" | |||
! style="background:#efefef;" |Used By: | |||
|Script: ''MS21Script'' | |||
|} | |||
Possible Values: | |||
0: (Default) | |||
1-10: Number of statues player has brought to Umbacanno. | |||
[[Category:Scripting]] | [[Category:Scripting]] |
Latest revision as of 04:26, 1 April 2010
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.