Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: DanaMazzo on May 13, 2014, 04:30:20 PM
-
I made some FSM's but audio start to play before I press any button.
Why is that?
(http://i.imgur.com/g44btqN.jpg)
-
Because its in the start state.
When you put actions in a state then they are immediately run when that state is made active. The start state is active as soon as the object is turned on so the sound is immediately played.
Better is in the start state make a GUI Button which when clicked will fire an event to go to another state where the sound is played.
-
Thank you.