C_QuestItemUse. CanUseQuestItemOnObject
functionguessedavailable in: camelot
Whether a quest item can be used on the given unit. · description by wowlua
function C_QuestItemUse.CanUseQuestItemOnObject( item: ItemLocationMixin, unit: string, checkRange: boolean?): booleanParameters
| name | type | description |
|---|---|---|
item | ItemLocationMixin | The location of the quest item. |
unit | string | |
checkRange | boolean? | Whether the unit must also be in range. |
Returns
canUse · boolean
In wowlua's emulated client
guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean
Restrictions
sources
Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (QuestItemUse system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry.