How to look through a players inventory
bgreen58
31 Jan 2005, 19:33I 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!
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!
MaDbRiT
01 Feb 2005, 08:31Hi Bgreen58
MaDbRiT's type library already does this for you - completely automatically.
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.
bgreen58
02 Feb 2005, 16:15Okay... I feel like a dope. I'll look through the manual again and fill myself in on the details. Thanks!

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