Jump to content

Home

(Scripting) Inventory slots?


Malxados

Recommended Posts

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 ;)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...