Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest WME version: WME 1.9.1 (January 1st, 2010) - download

Author Topic: Animation to finish before it starts to play again  (Read 2390 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.033 seconds with 20 queries.