It seems at the end of the, Skeleton King, the potions aren't being recognized. When I click on say a skeleton, a little halo circle pops up and it clearly tells me this is a skeleton, but when I try to click on a potion, nothing happens. No information is shown.

The only reason I bring this up is I just wanted to have my character retrieve it through my loop, instead of having to make my toon move to it via a flag. It seems like it doesnt recognize the item.type == "potion".

Does that seem right to you? I am more than willing to share my code...its totally possible I effed that particular part of the code, but I may have gotten it right as well.

Btw I cleared the level, so it's not a big deal if I do not receive a prompt response.

Ok so I tweaked that bit. I am still not able to get the potions without manually dropping a flag.. My toon just sits there. So I took a couple of screen grabs, the first one shows me trying to click...as you can see it doesn't recognize the potion type.

When you call the function you call getPotion(item), but your function definition does not call for an item on input.
So you should just call “getPotion()” as you have the function locate and create its own variable locally.