1
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

24 lines
839 B

Scriptname _00E_MQP02_FadeOutOnHitScript extends activemagiceffect
Event OnHit(ObjectReference akAggressor, Form akSource, Projectile akProjectile, bool abPowerAttack, bool abSneakAttack, bool abBashAttack, bool abHitBlocked)
if (akAggressor == _00E_MQP02_CaptainRocio)
FadeToBlackHoldImod.Apply()
_00E_BellGong_02M.Play(PlayerREF)
_00E_NPCKillChop.Play(PlayerREF)
PlayerREF.RemoveSpell(_00E_MQP02_AbFadeOutOnHit)
MQ_P02_ANewLife.CompleteQuest()
MQ_P03_TempleVisionQuest.Start()
EndIf
EndEvent
ImageSpaceModifier Property FadeToBlackHoldImod Auto
Actor Property _00E_MQP02_CaptainRocio Auto
Sound Property _00E_BellGong_02M Auto
Sound Property _00E_NPCKillChop Auto
Actor Property PlayerREF Auto
Spell Property _00E_MQP02_AbFadeOutOnHit Auto
Quest Property MQ_P02_ANewLife Auto
Quest Property MQ_P03_TempleVisionQuest Auto