Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: szomaza on May 26, 2014, 01:59:12 AM

Title: Game Object Is Active?
Post by: szomaza 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
Title: Re: Game Object Is Active?
Post by: escpodgames on May 26, 2014, 02:53:04 AM
This sounds like what you're after :)

http://hutonggames.com/playmakerforum/index.php?topic=7088.msg34558#msg34558
Title: Re: Game Object Is Active?
Post by: szomaza 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