playMaker

Author Topic: Arraymaker: Array List Copy To not working  (Read 2440 times)

ToxicFrog

  • Beta Group
  • Full Member
  • *
  • Posts: 139
Arraymaker: Array List Copy To not working
« on: March 09, 2015, 05:27:45 PM »
Hello friends,

I am trying to copy the entire contents from one Array list to an Array List on another object. I cannot seem to get it to work.

Here's what I've got:
ObjectA has ArrayList called 'TempSequence', and it's a list of integers (prefill type int).

ObjectB has ArrayList called 'Sequence', and it's empty (prefill type int).

I have an action on Object A "Array List Copy To" set like this:
Array List Copy To
Set up
Game object: Use Owner
Reference: TempSequence

Result
Game Object Target: Specify Game Object
ObjectB
Reference: Sequence
Start Index: 0
Count: 5

It produces an error "ArrayListCopyTo : ArrayList undefined.

I've tried reversing it (going from ObjectB to ObjectA) in case I was setting it up wrong, but nothing seems to work.

Advice?

Thanks!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Arraymaker: Array List Copy To not working
« Reply #1 on: March 10, 2015, 02:16:54 AM »
Hi,

 What version of Unity are you using? I'll run some tests then.

 Bye,

 Jean

ToxicFrog

  • Beta Group
  • Full Member
  • *
  • Posts: 139
Re: Arraymaker: Array List Copy To not working
« Reply #2 on: March 12, 2015, 12:05:34 PM »
Hi Jean,

I'm using 4.6.1.

Thanks for your help!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Arraymaker: Array List Copy To not working
« Reply #3 on: March 16, 2015, 02:26:04 AM »
Hi,

 tested and it works.

-- are you sure you are pointing the right source and target?
-- are yousure the source is filled with entries?
-- are you sure you don't delete the entries added somehow?

 Bye,

 Jean