Compare commits

..

No commits in common. "a1d4d1a02fc1d9ae21290ee3927406dd18411e5c" and "98f4a89e41d50211383f9336a777e67f411e7a73" have entirely different histories.

9 changed files with 21 additions and 20 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,9 +1,11 @@
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.GetForm(0x14) && !MQ11c.IsStageDone(50) if akNewContainer == Game.GetPlayer()
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 == Game.GetForm(0x14) && !MQ12c.IsObjectiveCompleted(5) && MQ12c.IsRunning() if akActionRef == PlayerREF && !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 == Game.GetForm(0x14) if akActionRef == PlayerREF && MQ12c.IsRunning()
_00E_SilenceTransitionHighPriority.Remove() _00E_SilenceTransitionHighPriority.Remove()
EndIf EndIf

View File

@ -11,18 +11,11 @@ endEvent
Event OnActivate(ObjectReference akActionRef) Event OnActivate(ObjectReference akActionRef)
if akActionRef == Game.GetForm(0x14) if akActionRef == PlayerREF && !bDone && _00E_NQ_G_SidedMael.GetValue() == 1
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,12 +1,18 @@
Scriptname _00E_SetStageOnOpen extends ObjectReference Scriptname _00E_SetStageOnOpen extends ObjectReference
; This script is currently used only by _00E_NQYogoshAntriebskern "Propulsion Valve" [MISC:0009523E]
; TODO: Change the script to _00E_SetStageOnActivate Event OnInit()
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 = 1 doOnce = 0
Else Else
Return Return
EndIf EndIf