Playmaker Forum

Bug Reporting => PlayMaker Bug Reporting => Topic started by: blackant on February 11, 2015, 06:36:51 AM

Title: Harray List remove at (Quaternion) doesn't remove
Post by: blackant on February 11, 2015, 06:36:51 AM
Hi,

i have this problem in my program.
Using 'Array list get Random' and just after that 'Array list remove At'

i get the random card like i want but it 's clearly not removed after that, it can cause duplicated index during this step, wich is not desired in the rules of my game..

i have to precise that, i'm using Quaternion variables in the list
Title: Re: Harray List remove at (Quaternion) doesn't remove
Post by: jeanfabre on February 16, 2015, 10:22:44 AM
Hi,

 Removing should not be affected by what the value is, this is very odd.

 'll try to repro this, meanwhile,

-- do you have several arrayList on the gameObject? else you'll need to use the reference to target the proper components.

are you sure you are not getting mixed up with the index? don't forget that indexes starts at 0, index 0 = first item.

 Bye,

 Jean
Title: Re: Harray List remove at (Quaternion) doesn't remove
Post by: blackant on February 22, 2015, 04:56:28 PM
i use the reference to find it without problem
because in my system, i use a get random action and just after that remove at the same index
Title: Re: Harray List remove at (Quaternion) doesn't remove
Post by: jeanfabre on February 23, 2015, 01:15:58 AM
Hi,

 If you can send me a repro, that will be great.

 Bye,

 Jean