enderalse/scripts/source/_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)
if MQ08_IntoTheDeep.GetStage() == 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)
MQ08_IntoTheDeep.SetStage(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