Difference between revisions of "List of global variables"
imported>Crow King |
imported>Crow King |
||
Line 63: | Line 63: | ||
==MS38LastContact== | ==MS38LastContact== | ||
==OblivionCrisis== | ==OblivionCrisis== | ||
Initialized to 0. Once the player has completed the third chapter of the main quest (Find the Heir), is set to 1. | |||
==PCVampire== | ==PCVampire== | ||
Stores the player's stage of vampirism. | Stores the player's stage of vampirism. |
Revision as of 02:18, 30 December 2006
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.