ESODecoded

UseCollectible

ESO Lua API function — used by 90 of the 3,030 addons we indexed (combined 1,868,665 downloads). Signature from the official ESOUIDocumentation.txt, API version 101050.

Official signature

UseCollectible(integer collectibleId, [GameplayActorCategory|#GameplayActorCategory] actorCategory)

Real usage — from Collectibles Tracker (formerly Event Collectibles)

		if (IsCollectibleUnlocked(collectibleId)) then
			UseCollectible(collectibleId)
			return

Short excerpt from the shipping addon Collectibles Tracker (formerly Event Collectibles)its ESOUI page; the code belongs to its author. Shown because documentation without a working example is half a reference.

Most-downloaded addons using it

AddonTotal downloads
Collectibles Tracker (formerly Event Collectibles)283,469
LovelyEmotes276,662
Bandits Companions and Pets192,393
MasterThief85,120
Votan's Improved Outfit Station73,714
LibWarCry72,912