Jump to content

Getequipid update


Capuche

Recommended Posts


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

This function returns the item ID of the item equipped in the equipment slot

specified on the invoking character. If nothing is equipped there, it returns -1.

Valid equipment slots are:

EQI_HEAD_TOP (1) - Upper head gear

EQI_ARMOR (2) - Armor (Where you keep your Jackets and Robes)

EQI_HAND_L (3) - What is in your Left hand.

EQI_HAND_R (4) - What is in your Right hand.

EQI_GARMENT (5) - The garment slot (Mufflers, Hoods, Manteaus)

EQI_SHOES (6) - What foot gear the player has on.

EQI_ACC_L (7) - Accessory 1.

EQI_ACC_R (8) - Accessory 2.

EQI_HEAD_MID (9) - Middle Headgear (masks and glasses)

EQI_HEAD_LOW (10) - Lower Headgear (beards, some masks)

This command doesn't work for costume. Maybe this is not very useful since we can use getinventorylist command to check.

Edit : Well I haven't properly argued :x

It would probably help in some script, like in this request since it's easier to use getequipid than getinventorylist.

Edited by Capuche
  • Upvote 1
Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

Implemented in r17131, documented in r17132.

Link to comment
Share on other sites

×
×
  • Create New...