Compare commits

...

3 Commits

9 changed files with 20 additions and 21 deletions

Binary file not shown.

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

@ -6,7 +6,7 @@ Scriptname _00E_MQ12c_AddSilenceSC extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef) Event OnTriggerEnter(ObjectReference akActionRef)
if akActionRef == PlayerREF && !MQ12c.IsObjectiveCompleted(5) && MQ12c.IsRunning() if akActionRef == Game.GetForm(0x14) && !MQ12c.IsObjectiveCompleted(5) && MQ12c.IsRunning()
_00E_SilenceTransitionHighPriority.Add() _00E_SilenceTransitionHighPriority.Add()
EndIf EndIf
@ -14,7 +14,7 @@ EndEvent
Event OnTriggerLeave(ObjectReference akActionRef) Event OnTriggerLeave(ObjectReference akActionRef)
if akActionRef == PlayerREF && MQ12c.IsRunning() if akActionRef == Game.GetForm(0x14)
_00E_SilenceTransitionHighPriority.Remove() _00E_SilenceTransitionHighPriority.Remove()
EndIf EndIf

View File

@ -11,11 +11,18 @@ endEvent
Event OnActivate(ObjectReference akActionRef) Event OnActivate(ObjectReference akActionRef)
if akActionRef == PlayerREF && !bDone && _00E_NQ_G_SidedMael.GetValue() == 1 if akActionRef == Game.GetForm(0x14)
Activate(akActionRef, true)
Utility.Wait(0.1)
if !bDone && _00E_NQ_G_SidedMael.GetValueInt() == 1
bDone = true bDone = true
NQ_G_06.SpawnKileans() NQ_G_06.SpawnKileans()
EndIf EndIf
endif
EndEvent EndEvent
bool bDone bool bDone

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