playMaker

Author Topic: prefab actions problem  (Read 1864 times)

nitza12345

  • Playmaker Newbie
  • *
  • Posts: 5
prefab actions problem
« on: April 30, 2016, 01:14:20 AM »
so i have a prefab that has action find gameobject with tag and store it in a global variable and then activate gameobject action,and that does not work ,what might be the problem? is it a bug? :o

ransomink

  • Playmaker Newbie
  • *
  • Posts: 44
Re: prefab actions problem
« Reply #1 on: April 30, 2016, 04:45:09 AM »
First, I would check the gameobject you wish to find has the specified tag set to it.

Are you trying to activate the gameobject you found with the tag? If so, place a Debug GameObject action after the Find GameObject action so you can check if a gameobject was found.

Think you could post a pic of the state with the actions? It may help give a better idea.

nitza12345

  • Playmaker Newbie
  • *
  • Posts: 5
Re: prefab actions problem
« Reply #2 on: May 01, 2016, 11:25:01 AM »
the thing is that all the states are executed  state one has find game object action,state 3 has activate game object and stage 4 destroy self,and all of them execute but the game object that is found and stored doesnt activate,maybe if a gameobject is deactivated is it findable?but if it wasnt  the find game object wouldnt execute

nitza12345

  • Playmaker Newbie
  • *
  • Posts: 5
Re: prefab actions problem
« Reply #3 on: May 01, 2016, 02:19:59 PM »
i found another way cool...