Don't use a 3D for this. id beeing the id of the object.
Set id on (x=id,y=0)
set X coordinate on (x=id,y=1)
set Y coordinate on (x=id,y=2)
Set name on (x=id,y=3)
Now you can loop on the X-as and retrieve the values for (x, the y you need)
You can also delete a position on the x-as, deleting the Y values with it. Just simple with the delete action (for array).
Should be as easy as this.
From the other thread -
> Conditions
> Array - For Each Element
>
> SubEvent Conditions
> System - While
> System - Compare two values - IndexOf(Array.At.CurX) != LastIndexOf(Array.At.CurX)
>
> Action
> Array - Delete LastIndexOf(Self.At.CurX)
>
>
This is for a 1d array, but it will still work if you add an additional sub event to check that the second value also matches in both.