Please login or register.

Login with username, password and session length
Advanced search  

News:

This forum provides RSS feed. To query recent posts use this url. More...


Author Topic: Animation to finish before it starts to play again  (Read 2556 times)

0 Members and 1 Guest are viewing this topic.

Xenogia

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 14
  • FMV Adventure Developer
    • View Profile
Animation to finish before it starts to play again
« on: August 27, 2008, 07:42:26 AM »

Hi I am just wondering if I do a mouse over event on an entity how do I get it to finish the animation, rather than interrupt it every single second when the cursor is over the entity.
This is the code I have:

Code: [Select]
///////////////////////////////////////////////////////////////////////////////
on "MouseEntry"
{
    //Game.PlayMusicChannel (2, "sounds\but.wav", false);
   

anim.PlayAnim ("sprites\menu\new_game_hilite.sprite");
   
   
}


////////////////////////////////////////////////////////////////////////////////
on "MouseLeave"
{

    anim.PlayAnim ("sprites\menu\new_game.sprite");
}
////////////////////////////////////////////////////////////////////////////////
Logged
 

Page created in 0.042 seconds with 24 queries.