View Full Version : (Scripting) Inventory slots?
04-21-2009, 10:01 PM
I was wondering what the different types of inventory slots there are for TSL (INVENTORY_SLOT_*).
04-22-2009, 03:56 AM
You can find a list of predefined values in the NWScript usually, sometimes the odd few are in other include files.
Here's the inventory slot lines:
int INVENTORY_SLOT_HEAD = 0;
int INVENTORY_SLOT_BODY = 1;
int INVENTORY_SLOT_HANDS = 3;
int INVENTORY_SLOT_RIGHTWEAPON = 4;
int INVENTORY_SLOT_LEFTWEAPON = 5;
int INVENTORY_SLOT_LEFTARM = 7;
int INVENTORY_SLOT_RIGHTARM = 8;
int INVENTORY_SLOT_IMPLANT = 9;
int INVENTORY_SLOT_BELT = 10;
int INVENTORY_SLOT_CWEAPON_L = 14;
int INVENTORY_SLOT_CWEAPON_R = 15;
int INVENTORY_SLOT_CWEAPON_B = 16;
int INVENTORY_SLOT_CARMOUR = 17;
int INVENTORY_SLOT_RIGHTWEAPON2= 18;
int INVENTORY_SLOT_LEFTWEAPON2 = 19;
Hope that helps ;)
vBulletin®, Copyright ©2000-2015, Jelsoft Enterprises Ltd.