enderalse/source/scripts/_00e_mq08altarscript.psc

36 lines
1.2 KiB
Plaintext
Raw Normal View History

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
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)
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