playMaker

Author Topic: arrayMaker and GameObject Global [SOLVED]  (Read 2966 times)

TehBeck

  • Playmaker Newbie
  • *
  • Posts: 3
arrayMaker and GameObject Global [SOLVED]
« on: January 12, 2014, 05:08:01 PM »
I stumbled upon a frustrating issue with the arrayMaker Hash Table Get Many action when i'm trying to declare the target Game Object via GameObject Global variable.

Everything works OK if i manually Set up the target Game Object but the Hash Table Get Many action doesn't get any values if i decide to Set up the target Game Object using Global Game Object variable.

I have a different FSM to detect the current object on the scene using a tag and it works OK with other actions...

Any ideas? I've attached two screenshots to clarify the issue.
« Last Edit: January 21, 2014, 10:34:00 AM by TehBeck »

TehBeck

  • Playmaker Newbie
  • *
  • Posts: 3
Re: arrayMaker and GameObject Global
« Reply #1 on: January 19, 2014, 12:37:18 PM »
Sorry for the bump but any1? Am i the only one who's using arrayMaker's Hash Table Get Many action with Global GameObject variable? :'(

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15620
  • Official Playmaker Support
Re: arrayMaker and GameObject Global
« Reply #2 on: January 21, 2014, 03:14:19 AM »
Hi,

 It's all working ok, I think you are getting mixed up.

-- If you haven't defined the reference, then the action won't work.
-- If the gameobject reference doesn't have a hashtable proxy component, then the action won't work

so, are you positive that the global variable is actually referencing a gameobject at all and that is actually the gameobject you want?

Just before calling that hashtable get many action, simply use the action "Set GameObject" and set your global variable to the gameobject, then you are sure that the global variable is set, if that works, then you have a problem or logic in your implementation, if that doesn't work, let me know, something is odd cause it's all working fine here.

bye,

 Jean

TehBeck

  • Playmaker Newbie
  • *
  • Posts: 3
Re: arrayMaker and GameObject Global
« Reply #3 on: January 21, 2014, 10:33:01 AM »
Hey,

I tested this issue earlier during few days by re-creating the FSM's, Global variables etc (multiple times)...

I don't seriously know what's happened but it's working now :o

I've only upgraded the Unity (from versio 4.2.2 to 4.3) and i'm quite sure i haven't touched the FSM's nor any of the gameobjects since the latest failed tests (i actually used the latest saved scene from my tests)...

Thanks a lot for your efforts and so sorry for the extra trouble!
« Last Edit: January 21, 2014, 10:35:50 AM by TehBeck »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15620
  • Official Playmaker Support
Re: arrayMaker and GameObject Global [SOLVED]
« Reply #4 on: January 23, 2014, 07:20:09 AM »
Hi,

 no worries.

bye,

 Jean