playMaker

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

drentek

  • Playmaker Newbie
  • *
  • Posts: 11
Linking sounds to random animations
« on: November 22, 2012, 09: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: 15500
  • Official Playmaker Support
Re: Linking sounds to random animations
« Reply #1 on: November 23, 2012, 12:53:29 AM »
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
Re: Linking sounds to random animations
« Reply #2 on: November 23, 2012, 10: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.