playMaker

Author Topic: Game Object Is Active?  (Read 4833 times)

szomaza

  • Sr. Member
  • ****
  • Posts: 253
Game Object Is Active?
« on: May 26, 2014, 01:59:12 AM »
Hi,

I can't seem to find an action that would tell me True or False after testing if a specific game object IS Active.

Is there such a basic action?
If not then what would be the most efficient workaround?

1.
There is "Game Object Is Visible".
I have not tested this yet but I guess when a game object is inactive then it also becomes invisible to cameras.
Right?

2.
I could also change the tag of the game object when I activate it back and forth then check for the inactive tag with "Game Object Compare Tag"
This would surely work.

3.
Any better solution?

Thanks
Szomaza

escpodgames

  • Hero Member
  • *****
  • Posts: 687
    • Assets
Re: Game Object Is Active?
« Reply #1 on: May 26, 2014, 02:53:04 AM »

szomaza

  • Sr. Member
  • ****
  • Posts: 253
Re: Game Object Is Active?
« Reply #2 on: May 26, 2014, 03:19:18 AM »
Exactly, thanks LampRabbit!

Why isn't this basic functionality a part of the Playmaker install?
Please add it.

Br,
Szomaza