playMaker

Author Topic: How to check is Active from a prefab?  (Read 2551 times)

grimmy

  • Junior Playmaker
  • **
  • Posts: 70
How to check is Active from a prefab?
« on: April 23, 2014, 07:23:39 AM »
I have a prefab fsm and I want to check if another game object is active. The only way I can find to see if a game object is active is by using Get Property but this doesn't seem to play well from prefabs.

Is there another way?

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: How to check is Active from a prefab?
« Reply #1 on: April 23, 2014, 09:56:31 AM »
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

grimmy

  • Junior Playmaker
  • **
  • Posts: 70
Re: How to check is Active from a prefab?
« Reply #2 on: April 24, 2014, 01:39:55 AM »
Fantastic! Thanks!

P.S I 've seen a few of these really useful actions written by users but I was wondering if there are plans to add them to the official Playmaker package? If not, is there a central repository somewhere?

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: How to check is Active from a prefab?
« Reply #3 on: April 24, 2014, 06:36:04 AM »
Alex adds some of the very pertinent ones to the main package but not everything, to avoid bloating im sure.

Jean is working on a repository that will likely be up soon.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D