playMaker

Author Topic: Is this a bug?  (Read 1859 times)

grimmy

  • Junior Playmaker
  • **
  • Posts: 70
Is this a bug?
« on: April 11, 2014, 07:03:15 AM »
I am trying to get a reference to a gameObject from a prefab..So in my prefab I need a GameObject Find action...but the action looks like this..(attached)

Shouldn't it have somewhere to input the name of the object I'm looking for??

Breadman

  • Full Member
  • ***
  • Posts: 185
  • Derp
Re: Is this a bug?
« Reply #1 on: April 11, 2014, 08:23:59 PM »
I sometimes get actions that are missing fields. No matter what I do, certain gameobjects will always display the same actions with missing fields. My current workaround is:

1. Create a new empty object, and add an FSM with an empty state
2. Drag the desired action from the action menu into this new state
3. Put something (anything) in each field on the action
4. Copy the action from the state
5. Paste it onto your desired game object, you should notice that the actions are all there - just change the fields to what you need.

Hope this works!

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Is this a bug?
« Reply #2 on: April 14, 2014, 07:42:04 AM »
There is a Hide Unused checkbox at the bottom of the Action stack. Click it off.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

Breadman

  • Full Member
  • ***
  • Posts: 185
  • Derp
Re: Is this a bug?
« Reply #3 on: April 22, 2014, 04:19:48 PM »
Or... what Lane said.

Geez, that certainly helps me out. Thank you!