Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Kaneydien on April 08, 2013, 06:47:26 PM

Title: Problem with Get Owner/Activate Game Object(SOLVED)
Post by: Kaneydien on April 08, 2013, 06:47:26 PM
Hi everyone. I am having an odd issue. I have a game object that I want to activate and deactivate. I put an FSM on the object and the first thing it does is identify itself as a global variable with the GET OWNER function.
When I plug this global variable into my other FSM, under an Activate Game Object function, it does not work. When I hit play and watch the steps, I notice that in the Playmaker window, the global variable actually disappears from the Activate Game Object field. However, if I just drag and drop the game object into the field it works fine. I must be missing something, any help would be appreciated. Thanks!
Title: Re: Problem with Get Owner/Activate Game Object
Post by: Lane on April 08, 2013, 07:00:23 PM
Are you doing this as soon as the game starts?

try adding a 1 second wait or a next frame event.
Title: Re: Problem with Get Owner/Activate Game Object
Post by: Kaneydien on April 08, 2013, 08:29:06 PM
Nope. I tried adding a wait function but it made no difference. The game object is just an empty game object with an FSM on it containing some GUI elements.
Title: Re: Problem with Get Owner/Activate Game Object
Post by: Kaneydien on April 08, 2013, 11:16:44 PM
HELP! This problem has gotten worse! I have set up many global variables. When I try to call on them in other FSM's, they dont work! I watch the FSM's when the game runs, and the Global Variables just disappear from their fields once the game is running. Please help!!
Title: Re: Problem with Get Owner/Activate Game Object
Post by: jeanfabre on April 09, 2013, 01:33:08 AM
Hi,

 I get that too sometimes, are you using the latest version?

bye,

 Jean
Title: Re: Problem with Get Owner/Activate Game Object(SOLVED)
Post by: Kaneydien on April 11, 2013, 10:50:11 AM
Ah I didnt know there was a new one out on the 5th. Thanks!