Difference between revisions of "List of global variables"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Kivan
imported>Crow King
Line 48: Line 48:
==FameTiberSeptim==
==FameTiberSeptim==
==HasGrace==
==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==
==HighwaymanGotMoney==
==KvatchDestroyed==
==KvatchDestroyed==

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

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

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