Jump to content

How do I trigger an animation with spell


Zamboni

Recommended Posts

Hi all. I'm trying to make a mod that adds a spell. The spell, when cast on a target, would trigger a specific custom animation.

 

I got as far as making the spell, its associated effects, and a simple script which (hopefully) plays the animation when the spell is cast. However I cannot seem to figure out how to actually import the animation (it's already a hkx file) into the game for an ID.

 

Right now my script just says:

 

 

Event OnEffectStart(Actor akTarget, Actor akCaster)

akTarget.PlayAnimation("test")

endEvent

 

"Test" is the name of the animation file (ie. test.hkx). Can somebody help me please?

Link to comment
Share on other sites

  • Recently Browsing   0 members

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