×

GetItemsDetailsByID

 

The "GetItemsDetailsByID" event is used to get the item details like the name or a picture of item by a item ID who can be retrieve on "GetAllItemsDetails" .

If you want the Category or the SubCategory of an item, please use the "GetCategoryAndSubcategoryByItemID" event is used to get the item category and subcategory of item by a item ID who can be retrieve on "GetAllItemsDetails" , is used to prevent the crash of the Item details structure.

 

To get the item details , you can use the “GetItemsDetailsByID” interface with the following inputs:

  • ‘Target’ = The “PlayerCode” reference from the “Get player” function
  • ‘ItemsID’ = Here you can enter the item ID to get item data details, useful if you want to retrieve an item's name, image, or other information using a "BREAK" function. (If you don't know the item IDs, use the "GetAllItemDetails function", which returns the Item IDs.)

 

and the function returns the following parameters:

  • ‘Found?’ = Checked if the item ID is valid
  • ‘Details’ = A structure which gives access to the variables of the game (via the "break" function) allowing to know the information of the data table on the item.