Jump to content

[LE] How to make power also play animation?


martymmyles

Recommended Posts

I am currently trying to make my very first mod, a lesser power that allows the player to kick back an enemy with the Werewolf knockback effect (basically the Spartan Kick from 300 and AC: Odyssey). I have already created a plugin in the CK for a lesser power with this effect, and have already created a 3rd person kicking animation in Blender. However, I do not know how to do three things that I would like to. Firstly, I would like to attach the animation to the power so that it plays when the power is activated in game. Secondly, I would like to delay the knockback effect for about a second so that the animation can actually reach the contact part. Lastly, I would like to create a 1st person animation as well so the power works in both views, but have been unable to find any tutorials on how to make 1st person animations. Does anyone know how I could do these things, or if I even can? Thank you! Edited by martymmyles
Link to comment
Share on other sites

1) Once you have created your 'Lesser Power' in its "Active Magic Effect" you need to add a script that will call for the animation.

Here is an Example:


EVENT OnEffectStart(Actor akTarget, Actor akCaster)
Debug.SendAnimationEvent(PlayerREF, "MyAnimationName")
PlayerREF.PushActorAway(TargetedActor, 10)
ENDEVENT


2) "I would like to delay the knockback effect for about a second so that the animation can actually reach the contact part"

This is just a papyrus function "PushActorAway()"


You don't need to add a delay since the script will not execute this part until the animation has finish.


3) I've no idea, i've never made any animations for Skyrim.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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