Oblivion Game Data

Select game:

Search:

Select a record type:

ND02QuestScript (0xKN000d72)

  • Record Type: SCPT
  • Editor ID: ND02QuestScript
  • Form ID: 0xKN000d72
  • Source File: Knights.esp.mod
  • Patch Status: FormID has not been modified.
Parameter Value
SCTX
ScriptName ND02QuestScript

short	SirAmielDefeated
short	SirCasimirDefeated
short	SirRalvasDefeated
short	SirHenrikDefeated
short	SirGregoryDefeated
short	SirCaiusDefeated
short	SirJuncanDefeated
short	SirTorolfDefeated

short LathonMoved		; set to 1 when lathon is successfully moved off stage

BEGIN GameMode
	
	if ( GetStage ND02 >= 10 ) &&  ( GetStage ND02 <= 15 )
		if Player.GetInCell NDPrioryoftheNine == 1
			setStage ND02 15
		endif
	endif

	; get Lathon and Sir Roderic off stage:
	if GetStage ND02 >= 25 && GetStage ND07 == 0 && LathonMoved == 0
		if NDLathonRef.IsRidingHorse == 0 && NDSirRodericRef.IsRidingHorse == 0
			set LathonMoved to 1
			; safe to move them
			NDLathonRef.moveto NDHoldingCellMarker
			NDSirRodericRef.moveto NDHoldingCellMarker
			NDLathonsHorseRef.moveto NDHoldingCellMarker
			NDSirRodericsHorseRef.moveto NDHoldingCellMarker
		endif		
	endif

	;Sets stage 70 when all ghost quests have been accepted
	if ( GetStageDone ND02 70 == 0 )
		if ( GetStageDone ND03 10 == 1 )
			if ( GetStageDone ND04 10 == 1 )
				if ( GetStageDone ND05 10 == 1 )
					if ( GetStageDone ND04 10 == 1 )
						setstage ND02 70
					endif
				endif
			endif
		endif
	endif

	; updates Carodus if player leaves Leyawiin without talking to him
	if GetStage ND04 >= 200
		if NDCarodusOholinREF.SpokenToPlayer == 0
			if player.GetInCell Leyawiin == 0
				set NDCarodusOholinREF.SpokenToPlayer to 1
				NDCarodusOholinREF.evp
			endif
		endif
	endif

END

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