enderalse/source/scripts/_00e_mq17_fleshcreaturesc.psc

21 lines
713 B
Plaintext

Scriptname _00E_MQ17_FleshCreatureSC extends Actor
Event OnDying(Actor akKiller)
MQ17_CombatControllerREF.ClearLemmingFromArray(Self)
If Self == MQ17_CombatControllerREF.akSuicideLemming
MQ17_CombatControllerREF.SpecialAttack_PossessLemming_DetonateLemming()
EndIf
EndEvent
Event OnHit(ObjectReference akAggressor, Form akSource, Projectile akProjectile, bool abPowerAttack, bool abSneakAttack, bool abBashAttack, bool abHitBlocked)
If akAggressor == Game.GetPlayer() && Self == MQ17_CombatControllerREF.akSuicideLemming && self.IsDead() == false
MQ17_CombatControllerREF.SpecialAttack_PossessLemming_DetonateLemming()
EndIf
EndEvent
_00E_TestBossFightSC Property MQ17_CombatControllerREF Auto