Method PlayerBot.FindBotConsumable [-] [+]

Find a consumable item in the bot's inventory by itemId.

@return Item|nil item : the Item object if found, or nil

Synopsis

Playerbot.FindBotConsumable( guidLow, itemId )

Arguments

number guidLow

Bot GUID low.

Valid numbers: integers from 0 to 4,294,967,295.

number itemId

Item template ID to search for.

Valid numbers: integers from 0 to 4,294,967,295.

Returns

Nothing.

Generated on
©2026 - ALE Lua Engine