2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_MQ08AltarScript extends ObjectReference
|
|
|
|
|
|
|
|
;Event OnInit()
|
|
|
|
; commented out since the property MQ08BridgeRef is currently
|
|
|
|
; pointing to a _48E_Frostelementar instead of anything resembling
|
|
|
|
; a bridge.
|
|
|
|
;MQ08BridgeRef.PlayGamebryoAnimation("Forward")
|
|
|
|
;EndEvent
|
|
|
|
|
|
|
|
Event OnActivate(ObjectReference akActionRef)
|
2024-01-10 14:08:24 +00:00
|
|
|
if MQ08_IntoTheDeep.GetCurrentStageID() == 100 && DoOnce == False
|
2021-10-05 22:15:58 +00:00
|
|
|
DoOnce = True
|
|
|
|
Game.GetPlayer().RemoveItem(_00E_MQ08Siegelstein, 1)
|
|
|
|
MQ08SiglstoneRef.Enable()
|
|
|
|
game.ShakeCamera(Game.GetPlayer(),0.5,0.5)
|
|
|
|
Utility.Wait(0.6)
|
|
|
|
MAGIllusionNightEyeOff.Play(Game.GetPlayer())
|
|
|
|
Utility.Wait(0.6)
|
|
|
|
MQ08DisableLinkMarkerRef.Enable()
|
|
|
|
game.ShakeCamera(Game.GetPlayer(),0.5,0.5)
|
|
|
|
Utility.Wait(0.6)
|
|
|
|
; commented out again for the same reason
|
|
|
|
;MQ08BridgeRef.PlayGamebryoAnimation("Backward", true)
|
|
|
|
Utility.Wait(2.6)
|
2024-01-10 14:08:24 +00:00
|
|
|
MQ08_IntoTheDeep.SetCurrentStageID(105)
|
2021-10-05 22:15:58 +00:00
|
|
|
EndIf
|
|
|
|
EndEvent
|
|
|
|
|
|
|
|
ObjectReference Property MQ08SiglstoneRef Auto
|
|
|
|
MiscObject Property _00E_MQ08Siegelstein Auto
|
|
|
|
Quest Property MQ08_IntoTheDeep Auto
|
|
|
|
|
|
|
|
ObjectReference Property MQ08DisableLinkMarkerRef Auto
|
|
|
|
ObjectReference Property MQ08BridgeRef Auto
|
|
|
|
Sound Property MAGIllusionNightEyeOff Auto
|
|
|
|
Bool DoOnce = false
|