2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_MQ07b_QuestBoxSC extends ObjectReference
|
|
|
|
|
|
|
|
;=====================================================================================
|
|
|
|
; EVENTS
|
|
|
|
;=====================================================================================
|
|
|
|
|
|
|
|
Event OnTriggerEnter(ObjectReference akActionRef)
|
|
|
|
|
|
|
|
if MQ07b_LishariUglyFailsaveGlobal == None
|
|
|
|
MQ07b_LishariUglyFailsaveGlobal = Game.GetForm(0x0003AC43) as GlobalVariable
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
if MQ07b_SC2_Bellhammer == None
|
|
|
|
MQ07b_SC2_Bellhammer = Game.GetForm(0x0003AC40) as ObjectReference
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
MQ07b_SC2_Bellhammer.Enable()
|
|
|
|
|
|
|
|
if MQ07b_LishariUglyFailsaveGlobal.GetValueInt() == 1 && akActionRef == Game.GetPlayer()
|
2024-01-10 14:08:24 +00:00
|
|
|
if MQ07b.GetCurrentStageID() < 51
|
|
|
|
MQ07b.SetCurrentStageID(51)
|
2021-10-05 22:15:58 +00:00
|
|
|
EndIf
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
|
|
|
|
;=====================================================================================
|
|
|
|
; PROPERTIES
|
|
|
|
;=====================================================================================
|
|
|
|
|
|
|
|
GlobalVariable Property MQ07b_LishariUglyFailsaveGlobal Auto
|
|
|
|
|
|
|
|
Quest Property MQ07b Auto
|
|
|
|
|
|
|
|
ObjectReference Property MQ07b_SC2_Bellhammer Auto
|