playMaker

Author Topic: Abort animation?[solved]  (Read 2494 times)

parallel

  • Full Member
  • ***
  • Posts: 155
Abort animation?[solved]
« on: November 03, 2013, 08:28:31 AM »
I've got a 12 second legacy animation playing that I'd like the option to abort if needed, how can this be done?
« Last Edit: January 27, 2014, 02:29:53 PM by parallel »

Dev_Sebas

  • 1.2 Beta
  • Sr. Member
  • *
  • Posts: 398
    • Blog
Re: Abort animation?
« Reply #1 on: November 03, 2013, 12:25:20 PM »
Create a new state with play animation action playing none animation.
And call it when you want.
Cheers
Seb

parallel

  • Full Member
  • ***
  • Posts: 155
Re: Abort animation?
« Reply #2 on: November 04, 2013, 05:21:41 AM »
Well, I've got a row of buttons which each play a different animation, and when I press another of the buttons while the previously chosen one is playing, it will wait switching to the new choice, until after the previous one has finished playing. SO how do I force the new animation while the other is playing?

Yanifska

  • Full Member
  • ***
  • Posts: 163
    • My Portfolio
Re: Abort animation?
« Reply #3 on: November 05, 2013, 03:11:52 AM »
You could use a global event, maybe ?
Visit my portfolio: http://www.yanivcahoua.com/

parallel

  • Full Member
  • ***
  • Posts: 155
Re: Abort animation?[solved]
« Reply #4 on: January 27, 2014, 02:29:32 PM »
Eventually solved this with a global bool test sending it back to the listener where an empty animation awaited to turn the playing one off, as suggested, so thanks guys.