Removed obsolete use of _00E_SetStageOnOpen
This commit is contained in:
parent
421e4b84ff
commit
79d1a0179e
BIN
Skyrim.esm
BIN
Skyrim.esm
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user