Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Sjones on September 04, 2012, 02:28:15 PM

Title: action wait until iTween finished[SOLVED]
Post by: Sjones on September 04, 2012, 02:28:15 PM
Just wondering if it was possible to have a bool set for the sate that an itween is in to wait till the itween has finished, I know that you can send event, however I am trying to keep things a bit cleaner as the fsm I am building is gona be big.
Title: Re: action wait until iTween finished
Post by: jeanfabre on September 05, 2012, 04:51:09 AM
Hi,

 I am not sure I am following, firing an event when the itween is finished should do the work. Else can you give me a concrete example?

thanks,

 Jean
Title: Re: action wait until iTween finished
Post by: Sjones on September 05, 2012, 11:58:22 AM
I was just wondering if it was possible to hold the current state till the itween action had completed, so for example, within the same action you had an itween at the top, none of the other actions below it will run until the itween has completed.

I have done as suggested and sent to another state and isnt an issue for me currently

thanks :)
Title: Re: action wait until iTween finished
Post by: jeanfabre on September 05, 2012, 02:20:17 PM
Hi,

Yes, states and transitions between states are meant to be used in this exact scenario.

bye,

 Jean