playMaker

Author Topic: How to make other transitions fire on START IDLE state [ SOLVED]  (Read 1369 times)

mickman

  • Junior Playmaker
  • **
  • Posts: 59
    • View Profile
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.   

 
 
« Last Edit: December 05, 2012, 05:47:08 AM by mickman »

mickman

  • Junior Playmaker
  • **
  • Posts: 59
    • View Profile
Re: LOTS OF GUI BUTTONS to play animation on a single object.. how?
« Reply #1 on: December 04, 2012, 08: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)
« Last Edit: December 05, 2012, 01:21:57 AM by mickman »

michaelwwswr

  • Playmaker Newbie
  • *
  • Posts: 38
    • View Profile
Re: LOTS OF GUI BUTTONS to play animation on a single object.. how?
« Reply #2 on: December 04, 2012, 08: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                                                                               

mickman

  • Junior Playmaker
  • **
  • Posts: 59
    • View Profile
Re: LOTS OF GUI BUTTONS to play animation on a single object.. how?
« Reply #3 on: December 04, 2012, 09: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


mickman

  • Junior Playmaker
  • **
  • Posts: 59
    • View Profile
Re: LOTS OF GUI BUTTONS to play animation on a single object.. how?
« Reply #4 on: December 04, 2012, 09: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

« Last Edit: December 05, 2012, 01:25:01 AM by mickman »