Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: drentek on November 22, 2012, 09:17:41 PM

Title: Linking sounds to random animations
Post by: drentek 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 :)
Title: Re: Linking sounds to random animations
Post by: jeanfabre 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
Title: Re: Linking sounds to random animations
Post by: drentek 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.