Enderal SE https://mod.pub/enderal-se/38-enderal-se
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.
21 lines
713 B
21 lines
713 B
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 |