playMaker

Author Topic: Linking sounds to random animations  (Read 1067 times)

drentek

  • Playmaker Newbie
  • *
  • Posts: 11
    • View Profile
Linking sounds to random animations
« on: November 22, 2012, 07:17:41 PM »
Hi,

I have an FSM which plays a random animation.  My issue is that I would like to have specific sounds associated with them.  E.g. when burp animation plays I would like the burp sound to play.  Is the a way around this other than having many different states using play animation rather than play random animation.

Thanks :)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 13857
  • Official Playmaker Support
    • View Profile
Re: Linking sounds to random animations
« Reply #1 on: November 22, 2012, 10:53:29 PM »
Hi,

 Uhm, I would have proposed to use ArrayMaker, but I did not included that possibilty. So currently, I am not sure if there is another way to go about that without writing custom actions.

 Do you have that many sounds?

bye,

 Jean

drentek

  • Playmaker Newbie
  • *
  • Posts: 11
    • View Profile
Re: Linking sounds to random animations
« Reply #2 on: November 23, 2012, 08:22:06 AM »
Ok not to worry. It's an AI which randomly selects an animation from a few groups depending on the state/mood of the character. 20 or so animations, As each is quite different e.g burping, waving they would all need individual sounds. Thanks for checking.