Thanks a bunch! It seems so similar to what I'd been doing that I'm not sure what wasn't working, but with a couple of slight modifications this does exactly what I needed it to. The way it's set up, when you grab a coin your pos and the pos of all the coins are randomized (I know it sounds like a crappy game... It's for research lol), and so I had to remove all the coins, randomize the position array, and the player pos, and replace them all. I didn't realize that c_scan modified you, so that's actually extremely useful - I'd been using emask.


"If it's true what you say to me, that the whole world will mourn his death - If the whole world will weep, I will give him back his breath."