Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Halestorm on August 16, 2013, 02:31:10 PM

Title: Disabling camera movement scripts during game
Post by: Halestorm on August 16, 2013, 02:31:10 PM
I want to say how I really like Playmaker and how it has saved me soooo much headache with OnGUI creation.  I am trying to make a state machine that will disable several scripts that control camera movements when I click on my settings menu.  I don't necessarily want to pause the game just make is so clicking on the menus doesn't also engage the orbit camera script and other scripts on my cameras.  If anyone could point me in the right direction I would be overjoyed.
Title: Re: Disabling camera movement scripts during game
Post by: Alex Chouls on August 16, 2013, 02:43:13 PM
You're probably looking for Enable Behaviour:
https://hutonggames.fogbugz.com/default.asp?W54

Or Enable FSM:
https://hutonggames.fogbugz.com/default.asp?W55

You could have an FSM that just turns the relevant scripts off and on.
Title: Re: Disabling camera movement scripts during game
Post by: Halestorm on August 19, 2013, 03:14:57 PM
Thanks, worked great!