View Single Post
Unread 01-09-11, 12:20 AM   #2
Nobgul
A Molten Giant
 
Nobgul's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2009
Posts: 693
not sure about a macro but

local squishy = UnitCreatureType("target")
if (squishy == "critter") then
-- Whatever should happen here
end

and you need to register it
:RegisterEvent("UNIT_TARGET"
__________________
Nobgul is offline   Reply With Quote