playMaker

Author Topic: [SOLVED] Finding GameObject and waiting for invisible  (Read 6992 times)

cwmanley

  • Full Member
  • ***
  • Posts: 107
Re: Finding GameObject and waiting for invisible
« Reply #15 on: August 20, 2016, 10:17:36 PM »
But if I did put that GameObject in a global variable, how would my other FSM wait for that global variable to contain the GameObject?

Can't we call a non-static method and store its returned value somehow? And then only move to the next state once that has finished? That way I can get the GameObject that I need.

The Game Object Is Null Action might do it.


Gatsu

  • Playmaker Newbie
  • *
  • Posts: 14
Re: Finding GameObject and waiting for invisible
« Reply #16 on: August 20, 2016, 11:02:51 PM »
Ok, so I made a loop using Game Object Is Null which if null tries to find my GameObject until it finds one, then it does nothing if it finds one so the next action would be to wait for a U Gui Button On Click Event on that found GameObject.

The above works so thank you guys very much for helping me.
« Last Edit: August 20, 2016, 11:06:13 PM by Gatsu »