Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: richardh on January 11, 2015, 09:29:59 AM

Title: prefab connections
Post by: richardh on January 11, 2015, 09:29:59 AM
What's the correct way to instance an object within a FSM prefab? My FSM's work fine until I create them as a prefab and then I have to reset the gameObects etc. when I use the prefab. I understand WHY this is happening but I'd like to know how I'd setup the FSM so that when I create the prefab it will still work (or at least not throw up errors once it's a prefab.

thanks
Title: Re: prefab connections
Post by: xhidnoda on September 23, 2015, 10:23:44 PM
bump!!
Title: Re: prefab connections
Post by: djaydino on September 24, 2015, 01:00:54 AM
Hi,
try using "find game object" and save it in a variable or set the target gameobject in a global variable