Removed obsolete use of _00E_SetStageOnOpen

This commit is contained in:
Eddoursul 2024-08-06 15:38:38 +02:00
parent 421e4b84ff
commit 79d1a0179e
5 changed files with 6 additions and 14 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,11 +1,9 @@
Scriptname _00E_MQ11c_DropRyneusNote extends ObjectReference Scriptname _00E_MQ11c_DropRyneusNote extends ObjectReference
Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer) Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer)
if akNewContainer == Game.GetPlayer() if akNewContainer == Game.GetForm(0x14) && !MQ11c.IsStageDone(50)
MQ11c.SetCurrentStageID(50) MQ11c.SetCurrentStageID(50)
endif endif
EndEvent EndEvent
Quest Property MQ11c Auto Quest Property MQ11c Auto

View File

@ -1,18 +1,12 @@
Scriptname _00E_SetStageOnOpen extends ObjectReference Scriptname _00E_SetStageOnOpen extends ObjectReference
; This script is currently used only by _00E_NQYogoshAntriebskern "Propulsion Valve" [MISC:0009523E]
Event OnInit() ; TODO: Change the script to _00E_SetStageOnActivate
BlockActivation()
EndEvent
Event OnLoad()
BlockActivation()
EndEvent
Event OnActivate(ObjectReference akActionRef) Event OnActivate(ObjectReference akActionRef)
If (akActionRef == Game.GetPlayer()) && (doOnce == 0) If (akActionRef == Game.GetPlayer()) && (doOnce == 0)
QuestToSet.SetCurrentStageID(StageToSet) QuestToSet.SetCurrentStageID(StageToSet)
doOnce = 0 doOnce = 1
Else Else
Return Return
EndIf EndIf
@ -21,4 +15,4 @@ endEvent
Int doOnce Int doOnce
Int Property StageToSet Auto Int Property StageToSet Auto
Quest Property QuestToSet Auto Quest Property QuestToSet Auto