Not sure how to title this. Please help..
Hello,
I have been trying to figure this one out all day. I've been searching the forums and the Wiki trying to find a solution to my problem. I have a guy who is set to greet a player when they run by him, as long as the player is level 10. He hands them an item and that's it, that's his purpose. After the player obtains the item, they have no further need for him. Here's the problem - how do I get him to leave players alone once they talk to him? His location is right next to my newbie area and so every time they run by, he beckons them.
Currently I have this set up so that once a player levels past 10, he won't bother them. I was thinking that if there was a way to perform a check in a players inventory for the item he gave them, then I could easily fix this. But that's the thing - I can't find anything about checking for items in a players inventory.
Could anyone point me in the right direction? Perhaps I overlooked something.
Thank you.
Sonic
|