Jump to content
Capuche

Getequipid update

Recommended Posts

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



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.