List of global variables

From The Elder Scrolls Construction Set Wiki

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!


Contents

[edit] Global variables that are handled by Oblivion.exe

[edit] GameDay

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

[edit] GameDaysPassed

Returns the amount of days passed in game.

[edit] GameHour

Returns the in-game hour.

[edit] GameMonth

Returns the in-game month.

[edit] GameYear

Returns the in-game year

[edit] Timescale

Number of game minutes that passes in 1 real minute.

Default: 30




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

[edit] CrimeForceJail

[edit] EmfridBittneld

[edit] Fame

[edit] FameAkatosh

Initialized to 0. If player successfully visits the shrine, set to the player's fame level at the time of the visit.

[edit] FameArkay

[edit] FameDibella

[edit] FameJulianos

[edit] FameKynareth

[edit] FameMara

[edit] FameStendarr

[edit] FameTiberSeptim

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

[edit] HighwaymanGotMoney

Initialized to 0. Set to 1 if player gives one of the Khajit highwaymen 100 gold or is too poor to pay.

[edit] KvatchDestroyed

[edit] MQ05RavenPlace

[edit] MQEndDayWeek

[edit] MS05InProgress

[edit] MS22DealGold

[edit] MS22RewardGold

[edit] MS38LastContact

[edit] OblivionCrisis

Initialized to 0. Once the player has completed the third chapter of the main quest (Find the Heir), is set to 1.

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

[edit] RentAnvilCountsArms

[edit] RentAnvilFlowingBowl

[edit] RentBorderWatchInn

[edit] RentBravilLonelySuitor

[edit] RentBravilSilverHome

[edit] RentBrinaCross

[edit] RentBrumaJerallView

[edit] RentBrumaOlavs

[edit] RentCheydinhalBridgeInn

[edit] RentCheydinhalNewlandsLodge

[edit] RentChorrolGreyMare

[edit] RentChorrolOakandCrosier

[edit] RentDrunkenDragon

[edit] RentFaregyl

[edit] RentGottshawInn

[edit] RentHackdirtMoslinsInn

[edit] RentICAllSaintsInn

[edit] RentICBloatedFloat

[edit] RentICKingandQueen

[edit] RentICLuthorBroad

[edit] RentICMerchantsInn

[edit] RentICTiberSeptimHotel

[edit] RentIllOmen

[edit] RentImperialBridge

[edit] RentLeyawiinFiveClaws

[edit] RentLeyawiinThreeSisters

[edit] RentNewlandsLodge

[edit] RentRoxeyInn

[edit] RentSkingradTwoSistersLodge

[edit] RentSkingradWestWeladInn

[edit] RentWawnetInn

[edit] Sleep

[edit] TGPayoffCrimeGold

[edit] TGPriceAttack

[edit] TGPricePerKill

[edit] TGPriceSteal

[edit] UmbacannoCount

Personal tools