Please login or register.

Login with username, password and session length
Advanced search  

News:

Forum rules - please read before posting, it can save you a lot of time.

Author Topic: Waiting for transition between two animations  (Read 2227 times)

0 Members and 1 Guest are viewing this topic.

mRax

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 55
    • View Profile
Waiting for transition between two animations
« on: December 14, 2006, 09:59:03 AM »

Hello, I have new question:
Code: [Select]
actor.PlayAnim("sit_down");
... // ("body": actor is doing something here)
actor.PlayAnim("stand_up");
When body is the simple short code, there is all ok. But when body is using long procedures/object methods, there had been appeared one effect: actor return to previous state quickly (a state is just before .PlayAnim("sit_down") method called, maybe it's idle animation), and when body is over, actor had played "smoothly transition" to the first "stand_up" animation frame, and then played "stand_up" animation. Both animations -- sit_down and stand_up -- aren't looping.

Huh... :) Well, is there property like .AnimTransitionTime for waiting before actor's state would dropped or started transition between two animations?

P.S. Now I'm planning to use several idle animations (especially, last frame of each animation). But maybe there is some way to "freeze" actor, isn't there?
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Waiting for transition between two animations
« Reply #1 on: December 14, 2006, 11:11:57 AM »

No, you'll have to switch to another idle animation while the character is sitting.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave
 

Page created in 0.034 seconds with 23 queries.