25 lines
839 B
Plaintext
25 lines
839 B
Plaintext
|
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
|