Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: mickman on December 04, 2012, 10:17:52 PM

Title: How to make other transitions fire on START IDLE state [ SOLVED]
Post by: mickman on December 04, 2012, 10:17:52 PM
Hi,

I have a space ship with several animations applied I created in Maya. & exported as an FBX.  

I would like to simply tap several different buttons on the gui interface e.g..

Buttons 1. = start               animation
           2. = retract landing gear  animation
           3. = engage thrusters      animation
           4. = lift off                    animation
           5. = land                       animation

 I am just wondering what action do I use to check which button has been touched ?

Currently only the first Transition called "start" in the list is firing (there are 5 transitions on my idle state )

 Maybe I should be using  an if statement  to compare which button was touched  or something similar ??

Cheers,
           Mick

I  know the problem .. ( not enough Sleep )  I had an extra action hiding in the Idle state. A play animation state was firing immediately upon first touch.  it was minimised in the state.   

note to self " Sleep.  Sleep really makes big difference sometimes. After a fresh start I spotted it immediately.   

 
 
Title: Re: LOTS OF GUI BUTTONS to play animation on a single object.. how?
Post by: mickman on December 04, 2012, 10:38:09 PM
I might have worked it out...  not 100% sure ..    :)

It's a basic setup.. bit of a no brainer really, I just can't find the right action that compares button states ?

Currently my ship might be opening a pod bay door.. and then I hit lift off and it jumps to lift off animation.

I really need to understand how to trigger each event on the idle state (not just the first in the event list)
Title: Re: LOTS OF GUI BUTTONS to play animation on a single object.. how?
Post by: michaelwwswr on December 04, 2012, 10:41:29 PM
I have no Idea I was wondering does it work well because I was thinking about purchasing TargetPro or AI4Enemies , Maybe Jean can answer your question                                                                               
Title: Re: LOTS OF GUI BUTTONS to play animation on a single object.. how?
Post by: mickman on December 04, 2012, 11:03:26 PM
Target Pro is great. I purchased it last week.  Simple and effective. 

note: there's an active Skype channel great place to get quick heads up, opinions etc.. check it out

Title: Re: LOTS OF GUI BUTTONS to play animation on a single object.. how?
Post by: mickman on December 04, 2012, 11:40:05 PM
 I still have issues with the GUI buttons.   I have 6 buttons. all they do is play animations on my spacecraft.
There's no skeleton. (just a basic setup )    There is one single IDLE state that branches off to 6 other states that simply play each animation.   The idle state has 6 transitions  (one for each animation )  but the only one transition fires is the first one on top of the list.  

How do I get the others to play ?

When I play in Unity and hold ALT it works perfect.  but not when I build (only fires first transition in the list )

hhmm ??    

Mick