Jump to content

Scene + Idle animation, Actor not doing animation


3djake

Recommended Posts

Hi,

I took a break from creating my mod for a while (Diablo 3) and its time to try to get it finished.

 

The problem I am trying to fix - Idle animation not working during scene, the scene actually starts and the actor say's his dialogue but he does not do his animation

 

What I am doing -

I scripted a boss fight, basic run down of it is that when the boss reaches certain percentage he will cast a spell and say something as he is casting it so the player knows to get ready for it. After the spell is cast he then start the scene in which the following happens - he should fly up in the air and start mocking the player but instead he just says his dialogue and does not do his animation (I am using the Nocturnal Idle).

 

I set the animation in the scene editor in the "edit response" box.

The spell he casts is also scripted, part of that spell sets the actor to ghost and removes him from combat so that nothing can interrupt the scene.

 

Here is a break down of the the part of the script that triggers the scene

If Self.GetActorValuePercentage("health") <= 0.9 && Toggle == 0
                                                                                                         Self.Say(comecloser)
                                                                                                                Utility.Wait(3.5)
                                                                                                                lamespell.cast(self, self)                                                                                                             
                                                                                                                Toggle = 1                                                                                                             
                                                                                                                Utility.Wait(1) ;wait for actor to finish say before scene
                                                                                                                tauntscene.Start() ;the boss taunts/mocks the player

 

Here is a in game video of what the actor is doing and not doing http://epick.org/sceneneedhelp.mp4 (12MB, duration about 1 and a half minutes)

 

Here is a screenshot of how I set up the scene in CK http://epick.org/scene.jpg

 

Any help on what I am doing wrong and why it is not working would be appreciated.

 

Thanks

Link to comment
Share on other sites

  • 5 months later...
Did you ever figure this out? I'm trying to understand animations and I can only get scripted animations to play once. The second time they should play, nothing happens. I've tried PlayIdle and Playanimation, as well as debug.sendanimationevent.
Link to comment
Share on other sites

  • Recently Browsing   0 members

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