enderalse/scripts/source/_00e_mq01_killerarrow02script.psc

26 lines
1.0 KiB
Plaintext
Raw Normal View History

Scriptname _00E_MQ01_KillerArrow02Script extends activemagiceffect
Event OnEffectStart(Actor akTarget, Actor akCaster)
Game.ShakeCamera(afStrength = 1.0)
Finn.GetReference().PlaceAtMe(_00E_HarmlessFireExplosion, 1)
ShootMarker.GetReference().PushActorAway(Finn.GetActorReference(), 5.0)
ObjectReference PlayerThrowMarker = PlayerREF.PlaceAtMe(XMarkerHeading, 1)
PlayerThrowMarker.MoveTo(PlayerREF, - 290.0 * Math.Sin(PlayerREF.GetAngleZ()), - 200 * Math.Cos(PlayerREF.GetAngleZ()), PlayerRef.GetHeight() + 15.0)
_00E_FireExplosion.Play(PlayerREF)
PlayerREF.SplineTranslateToRef(PlayerThrowMarker, 100, 2000)
MAGFireBallExpImod.Apply()
Utility.Wait(4)
MQ01_UnchartedLand.SetStage(130)
EndEvent
Explosion Property _00E_HarmlessFireExplosion Auto
ImageSpaceModifier Property MAGFireBallExpImod Auto
Actor Property PlayerREF Auto
Sound Property _00E_FireExplosion Auto
Static Property XMarkerHeading Auto
ReferenceAlias Property Finn Auto
ReferenceAlias Property ShootMarker Auto
Quest Property MQ01_UnchartedLand Auto