Wikia

WoWWiki

API IsFishingLoot

Talk0
100,577pages on
this wiki
Revision as of 22:37, September 26, 2006 by Gearshaft (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
WoW API < IsFishingLoot

This function is only for determining if the loot window is related to fishing.


Returns Edit

isTrue 
Boolean - is it true

Example Edit

This will identify that the loot window should display the fish graphic, then play the sound and update the image.

if( IsFishingLoot() ) then
   PlaySound("FISHING REEL IN");
   LootFramePortraitOverlay:SetTexture("Interface\\LootFrame\\FishingLoot-Icon");
end

Around Wikia's network

Random Wiki