Oblivion Game Data

Select game:

Search:

Select a record type:

SE11QuestScript (0x000135b3)

  • Record Type: SCPT
  • Editor ID: SE11QuestScript
  • Form ID: 0x000135b3
  • Source File: Oblivion.esm.mod
  • Patch Status: FormID has not been modified.
Parameter Value
SCTX
scriptname SE11QuestScript

;----------------------------------Items----------------------------------

;Actors
; 	SEHaskill
;	SESheogorath
; 	SEDyus
;	SECiirta
;	SE11Rakheran
;	SE11SE11Apostle01
;	SE11SE11Apostle02
;	SE11SE11ApostleTraitor

;Objects
;	SE11KnifepointHollowDoor				;Door to Dyus' chamber
;	SE11Widget								;Used to unlock the door to Dyus' chamber
;	SE11ApostleDagger

;Scripts
;	SE11KnifepointHollowDoorScript		;Controls door to Dyus' chamber
; 	SEDyusScript 								;Used to give the Staff of Sheogorath to the player
;	SECiirtaScript
;	SE11RakheranScript
;	SE11ApostleScript
;	SE11ApostleRobeScript

;Effects
;	SE11DopplegangerEffect

;Spells
;	SE11DopplegangerSpell

;----------------------------------Variables----------------------------------

;Variables for quest
	short	SheogorathGone							;Set to 1 when Sheogorath vanishes
	short	PlayerGotEye								;Checks if player has item from SE11A, 1=yes 0=no
	short 	PlayerGotBranch							;Checks if player has item from SE11A, 1=yes 0=no
	float 	fQuestDelayTime							;Makes the script run more frequently than every 5 seconds

;Variables for Howling Halls scenario
	short	OutcomeRakheranBetrayCiirta			;Set to 1 when Player gives Rakheran the daggers to carry out his plan
	short	OutcomePlayerKillsCiirta				;Set to 1 if Player kills Ciirta
	short 	OutcomePlayerKillsRakheran			;Set to 1 if Player kills Ra'Kheran after being asked by Ciirta to do so
	short	OutcomePlayerConvincesRakheran	;Set to 1 if Player drives Ra'Kheran away after being asked by Ciirta to do so
	short 	isDisguised									;checks if player is wearing zealot robes
	short 	BodyDiscovered							;Checks if apostles have discovered any dead companions
	short	CiirtaBetrayalBegin						;Set to 1 when the player gives Rakheran the daggers to carry out his plan
	short 	CiirtaDaggersGive							;Controls Rakheran giving daggers to the other traitors
	short 	TraitorsRunToCiirta						;Sends the traitors to assassinate Ciirta after exchanging weapons
	short	CiirtaBetrayalScene						;Set to 1 when Rakheran arrive at Ciirta's location
	short	PlayerHasDaggers

;Variables for Milchar scenario


;Joel's dungeon variables
	short 	c2aFlameStatus							; Used in XPMilchar02aSub puzzle.  Associated with a gameMode block in this script
	short 	c2aFlameDoOnce							; Used in same puzzle for efficiency

short ConvoVAR 										;used to track Sheogorath's conversation

;----------------------------------Scripting----------------------------------

BEGIN GameMode

;Sets stage when player enters the Howling Halls
	if ( getStageDone SE11 50 == 1 ) && ( Player.GetInCell XPHowlingHalls01 == 1 ) 
		setStage SE11 101
		setStage SE11A 10
	endif

;Sets quest delay time when player is in the Howling Halls
	if ( getStage SE11 >= 50 ) && ( getStage SE11A < 190 )
		if ( player.getInCell XPHowlingHalls01 == 1 )
			set fQuestDelayTime to .01	
		elseif ( player.getInCell XPHowlingHalls02 == 1 )
			set fQuestDelayTime to .01
		elseif ( player.getInCell XPHowlingHalls03 == 1 )
			set fQuestDelayTime to .01
		endif
	endif

;Sets stage when player has accepted Ra'kheran's offer and collected the daggers

	if ( GetStageDone SE11 140 == 0 )
		if ( SE11RakheranRef.PlayerHasAcceptedOffer == 1 )
			if ( GetStageDone SE11 112 == 0 )
				if ( GetStageDone SE11 115 == 0 )				
					if ( Player.GetItemCount SE11ApostleDagger >= 3 )
						if (PlayerHasDaggers == 0 )
							setstage SE11 112
						endif
					endif
				endif
			endif
		endif
	endif

;Sets stage when player has both items
	if ( GetStage SE11 >= 190 ) && ( GetStage SE11 < 195 )
		if ( PlayerGotEye == 1 ) &&  ( PlayerGotBranch == 1 )
			SetStage SE11 195
		endif
	endif

;; Begin Joel's gameMode Section
;; I'll put stuff here if/when I need it
;; End Joel's gameMode Section

END

Database last updated 11/02/2011
SCPT records last updated 10/31/2011