Jump to content

DragonPriest Death Animation


thenewkid20

Recommended Posts

Dragonpriest death animation is not a .hkx file but a scripted event that plays an "explosion" effect and it appears to turn into ash upon death.
In DragonPriestActorScript, this can be found:

EVENT OnDying(Actor akKiller)
	; play all of the many dying fx and clean up the magic fx
	selfRef.placeAtMe(FXDragonPriestLargeExplosion, 1)
	selfRef.PlaySubGraphAnimation( "stage3" )
	selfRef.unequipitem(DragonPriestArmor01)
	DragonPriestEyeGlowFX.Stop(selfRef)
	;place ash pile
	utility.wait(1.0)
	selfRef.AttachAshPile(AshPileObject)
	utility.wait(2.0)
	FXfallingSandDragonPriestEffect.Stop(selfRef)

Is there a way to script the effect to play when player dies? I have 0 knowledge on scripting so it would be great if someone else could do it

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...