Difference between revisions of "List of global variables"
imported>Anubis4545 (Removing all content from page) |
imported>Qazaaq m (Reverted edits by Anubis4545 (Talk); changed back to last version by Crow King) |
||
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. | |||
Warning: This list contains spoilers! | |||
<BR> | |||
=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''' | |||
<BR><BR> | |||
=Global variables that are handled by scripts/dialogue= | |||
==CrimeForceJail== | |||
==EmfridBittneld== | |||
==Fame== | |||
==FameAkatosh== | |||
Initialized to 0. If player successfully visits the shrine, set to the player's fame level at the time of the visit. | |||
==FameArkay== | |||
==FameDibella== | |||
==FameJulianos== | |||
==FameKynareth== | |||
==FameMara== | |||
==FameStendarr== | |||
==FameTiberSeptim== | |||
==HasGrace== | |||
Indicates if the player has visited all of the shrines and completed the Pilgrimage of the Nine. (1 = completed, 0 = not completed). If completed, player will have the Grace ability. | |||
==HighwaymanGotMoney== | |||
Initialized to 0. Set to 1 if player gives one of the Khajit highwaymen 100 gold or is too poor to pay. | |||
==KvatchDestroyed== | |||
==MQ05RavenPlace== | |||
==MQEndDayWeek== | |||
==MS05InProgress== | |||
==MS22DealGold== | |||
==MS22RewardGold== | |||
==MS38LastContact== | |||
==OblivionCrisis== | |||
Initialized to 0. Once the player has completed the third chapter of the main quest (Find the Heir), is set to 1. | |||
==PCVampire== | |||
Stores the player's stage of vampirism. | |||
{|border="1" cellpadding="5" cellspacing="0" | |||
! style="background:#efefef;" |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== | |||
==Sleep== | |||
==TGPayoffCrimeGold== | |||
==TGPriceAttack== | |||
==TGPricePerKill== | |||
==TGPriceSteal== | |||
==UmbacannoCount== | |||
[[Category:Scripting]] |
Revision as of 11:14, 18 March 2008
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
Initialized to 0. If player successfully visits the shrine, set to the player's fame level at the time of the visit.
FameArkay
FameDibella
FameJulianos
FameKynareth
FameMara
FameStendarr
FameTiberSeptim
HasGrace
Indicates if the player has visited all of the shrines and completed the Pilgrimage of the Nine. (1 = completed, 0 = not completed). If completed, player will have the Grace ability.
HighwaymanGotMoney
Initialized to 0. Set to 1 if player gives one of the Khajit highwaymen 100 gold or is too poor to pay.
KvatchDestroyed
MQ05RavenPlace
MQEndDayWeek
MS05InProgress
MS22DealGold
MS22RewardGold
MS38LastContact
OblivionCrisis
Initialized to 0. Once the player has completed the third chapter of the main quest (Find the Heir), is set to 1.
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.