Jump to content

[LE] In CK/papyrus, how do I force an animation on an actor?


Recommended Posts

I have a menu that activates on an npc (mannequin). I want to use the menu to choose an animation that is then forced on the npc. I'd like to use both idles and animations, but I've seen that they use different facilities and rules.
Currently I have...

 

elseif configChoice == 7  
 self.playIdle(idleRitualSkull1)  
   
elseif configChoice == 8  
 Debug.SendAnimationEvent(self, actionSprintStart)

Both idleRitualSkull1 and actionSprintStart are set up as property, and linked in CK > Actor screen > Properties.

Neither of these lines work. At one point, the sprint line put a hitch in their walk, but that's all it did.
OH btw... I'm not trying to make them sprint, I just want them to show the animation.
What am I missing here?

 

Link to comment
Share on other sites

I have found out (the hard way) that some script don't work correctly outside their pre-set function.

What i mean is that for example : the "Debug.SendAnimationEvent" works correctly only when you use an "ActorRef" or "PlayerRef", the "self" does not seem to work correctly as logic dictates it should.

Edited by maxarturo
Link to comment
Share on other sites

  • Recently Browsing   0 members

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