Difference between revisions of "List of global variables"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>JOG
imported>JOG
Line 64: Line 64:


Script: ''MS40PotionEffect''
Script: ''MS40PotionEffect''
|}


|-
Possible Values:
! style="background:#efefef;" |Possible
Values:
|
   0:  No Vampire (Default)
   0:  No Vampire (Default)
  1-4:  Stage of Vampirism
  1-4:  Stage of Vampirism
   -1:  Player was healed from Vampirism.
   -1:  Player was healed from Vampirism.
|}
 
==RentAnvilCountsArms==
==RentAnvilCountsArms==
==RentAnvilFlowingBowl==
==RentAnvilFlowingBowl==

Revision as of 12:31, 3 June 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 (date).

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

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