Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Zanderfax on May 24, 2017, 12:16:35 PM

Title: Array List Copy To not working
Post by: Zanderfax on May 24, 2017, 12:16:35 PM
I have been trying to get the Array List Copy To action to work. I have tried both having the two proxies on the same game object and having separate game objects with each having a proxy on it.

I have run debugs, the original array has the data I am expecting, but it never copies to the secondary array. 

I have attached the screenshot of the configuration as it stands but is not working.

Any help would be appreciated.

Z
Title: Re: Array List Copy To not working
Post by: jeanfabre on May 30, 2017, 04:16:58 AM
Hi,

 it's simply because "count" is 0, so it copies 0 elements from source to target.

 set "count" to "none" by clicking ont he select variable button, then the action will copy everything starting from the start index.

the action by default sets both start index and count to none, so you could reset the action as well.

 Bye,

 Jean
Title: Re: Array List Copy To not working
Post by: Zanderfax on June 01, 2017, 03:47:00 PM
Thanks Jean!!