Difference between revisions of "List of global variables"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Crow King
imported>Crow King
Line 53: Line 53:


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

Revision as of 02:01, 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

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

Sleep

TGPayoffCrimeGold

TGPriceAttack

TGPricePerKill

TGPriceSteal

UmbacannoCount