WoW:API UnitLevel

From AddOn Studio
Revision as of 00:27, 7 March 2005 by WoWWiki>Ragecyr
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Retrieves the unit's level. unit being target,party,pet etc.

EX:

 /script SendChatMessage("Level "..UnitLevel("target"));

will say, if your targeting a lvl50: Level 50



(sorry for the bad format and all, but wanted to get something up)