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 |