6
« 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:
///////////////////////////////////////////////////////////////////////////////
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");
}
////////////////////////////////////////////////////////////////////////////////