Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Neikke on June 14, 2019, 11:02:04 AM
-
Hey guys,
how do I force replaying all of the components/scripts that are on the gameobject when object is ReActivated after being DeActivated by the action?
I have a few objects in a scene that I just Activate and Deactivate from time to time, and each time they're getting ReActivated - I want them to perform everything they do when I'm entering Runtime. Is it possible?
-
Hi.
Disabling/enabling fsms/game objects will restart the fsm (unless changed in the fsm settings)
but it will not refresh its values.
to do this use set int/float/etc Value. @ the 1st state and set the default values there.
-
This sounds good! 👍 Thanks for this info!