Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Pyremind on April 05, 2018, 09:29:13 AM

Title: ArrayGet not... getting [SOLVED]
Post by: Pyremind on April 05, 2018, 09:29:13 AM
I'm going through a tutorial series and am stuck on this ArrayGet problem. I'm not the most fluent in the language of playmaker but I've included an image that I hope has the relevant info.

Basically I have a hashtable with information that is filling out correctly, and the Array is drawing from that how I would expect, but when I go to ArrayGet in my state machine I can't get it to store anything in the string variable, which I want to spit out into my UI. What am I missing?


Title: Re: ArrayGet not... getting
Post by: jeanfabre on April 05, 2018, 10:23:52 AM
Hi

yes, you need to use HashTableGet Action instead. ArrayListxxx actions work for ArrayList Proxy and Hashtablexxx works for Hashtable Proxy.

 Let me know if you keep struggling with this.

 Bye,

 Jean
Title: Re: ArrayGet not... getting
Post by: Pyremind on April 05, 2018, 05:29:55 PM
Okay, maybe I'm going about this the wrong way, but I believe I'm trying to use ArrayGet on an Array proxy, not  hash table. The Array proxy is being fed by the hash table, and I'm then referencing the Array proxy called "keys". Is that not what my images show though?
Title: Re: ArrayGet not... getting
Post by: Pyremind on April 06, 2018, 04:34:58 PM
Ah, the UIUpdate global transition was not updating per frame (the tutorial had me use that) - and that's why it wasn't getting. When I added a loop state the Arrayget worked.