How to look through a players inventory

bgreen58
31 Jan 2005, 19:33
I want to write a script so that when the player tried to change clothes, the script first checks to see what they're already wearing and then tells them if they have to remove a certain item or not.
Since I'm using MadBrits Typelib, I can see how to easily compare clothing types, but I'm not sure how to look through the player's inventory.
Any help would be greatly appreciated! :lol:

MaDbRiT
01 Feb 2005, 08:31
Hi Bgreen58

I want to write a script so that when the player tried to change clothes, the script first checks to see what they're already wearing and then tells them if they have to remove a certain item or not.
Since I'm using MadBrits Typelib, I can see how to easily compare clothing types, but I'm not sure how to look through the player's inventory.



MaDbRiT's type library already does this for you - completely automatically. :shock:

bgreen58
02 Feb 2005, 16:15
Okay... I feel like a dope. I'll look through the manual again and fill myself in on the details. Thanks!
:oops:

007bond
03 Feb 2005, 08:13
Don't worry about it. a lot of people feel like that when they find out things like that. It's not just you.