Hi,
I'm currently using boolean checks for items that are distance checked and the closest is set as the destination for my NPC so he goes over picks up the item, checks other items if they are still available, if they are, get the closest distance and set new destination.
I'm thinking even though this way works, Arraymaker is probably more efficient for this kind of thing, so I've set about putting my game on hold and to study the array samples Jean has made.
So, can someone tell me if this is the right way to do this -
1. on the items, Array List Add each one into an array, then listen for the NPC with a trigger. When triggered, Array List Remove from the array
2. Get the distance to the items that are available in the array.
I know theres more to it, but I'm on the right track, yes?