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
Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer)
if akNewContainer == Game.GetPlayer()
if akNewContainer == Game.GetForm(0x14) && !MQ11c.IsStageDone(50)
MQ11c.SetCurrentStageID(50)
endif
EndEvent
Quest Property MQ11c Auto
Quest Property MQ11c Auto

View File

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