Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Aaddiction on March 13, 2014, 12:51:11 PM

Title: Call an action only once and disable it for the rest of the game.
Post by: Aaddiction on March 13, 2014, 12:51:11 PM
Hi, I want to call an action and/or a state only once in the entire game, even after scene changes, restarts and etc, but without destroying after. How can I do that without destroying the actual object/action or state?

In other words, how in runtime to uncheck a specific action once it's executed?
Title: Re: Call an action only once and disable it for the rest of the game.
Post by: jeanfabre on March 14, 2014, 06:50:32 AM
Hi,

 Not really possible. What is this action in question?

I would isolate that state and insert a bool check before and shunt that state if a boolean flag is true ( that flag being set to true in the state you run this action)

bye,

 Jean