45 lines
1.7 KiB
Plaintext
45 lines
1.7 KiB
Plaintext
Scriptname _00E_MQ04_LishariRitualEffectScript extends activemagiceffect
|
|
|
|
Import Utility
|
|
|
|
Event OnEffectStart(Actor akTarget, Actor akCaster)
|
|
|
|
PlayerREF.StopTranslation()
|
|
ObjectReference TransMarker = FunctionScript.GetTranslateMarker()
|
|
TransMarker.SetPosition(PlayerREF.GetPositionX(), PlayerREF.GetPositionY() - 50.0 , TransMarker.GetPositionZ() + 15.0)
|
|
PlayerREF.SplineTranslateToREF(TransMarker , 2000.0, 2000.0)
|
|
PlayerREF.DamageActorValue("Health", (PlayerREF.GetActorValue("Health")*0.9))
|
|
Game.ShakeCamera(afStrength = 0.3)
|
|
Lishari.GetActorReference().Say(MQ04_D5_ShoutHoutTopic)
|
|
_00E_MAGEldritchExplosionM.Play(PlayerREF)
|
|
_00E_A1_DevourSoulMarker.Play(PlayerREF)
|
|
_00E_MQ04_RitualAttachClouds.Stop(PlayerREF)
|
|
_00E_MQ04_RitualHitImod.Apply()
|
|
MQ04_SC04_CollisioNREF.Enable()
|
|
Game.ShakeCamera(afStrength = 1.0)
|
|
Wait(0.5)
|
|
FadeToBlackHoldIMOD.Apply()
|
|
Wait(3)
|
|
PlayerREF.SetPosition(PlayerREF.GetPositionX(), PlayerREF.GetPositionY(), (PlayerREF.GetPositionZ() + 10.0))
|
|
PlayerREF.PlayIdle(TG05_GetUp)
|
|
FadeToBlackBackIMOD.Apply()
|
|
FadeToBlackHoldImod.Remove()
|
|
Wait(2)
|
|
Game.EnablePlayerControls()
|
|
MQ04.SetCurrentStageID(90)
|
|
|
|
EndEvent
|
|
|
|
Actor Property PlayerREF Auto
|
|
ImageSpaceModifier Property _00E_MQ04_RitualHitImod Auto
|
|
Sound Property _00E_A1_DevourSoulMarker Auto
|
|
Sound Property _00E_MAGEldritchExplosionM Auto
|
|
Quest Property MQ04 Auto
|
|
Idle Property TG05_GetUp Auto
|
|
VisualEffect Property _00E_MQ04_RitualAttachClouds Auto
|
|
MQ03_Functions Property FunctionScript Auto
|
|
ImageSpaceModifier Property FadeToBlackHoldIMOD Auto
|
|
ImageSpaceModifier Property FadeToBlackBackIMOD Auto
|
|
Topic Property MQ04_D5_ShoutHoutTopic Auto
|
|
ReferenceAlias Property Lishari Auto
|
|
ObjectReference Property MQ04_SC04_CollisioNREF Auto |