API:GetTargetHateList

After requesting the hatelist (aka aggro-list) of a target you can read it linewise with this function.

Usage: nameOfUnit, aggroValueOfUnit = GetTargetHateList(row)

Where row is the index of the list, starting at 1. If the row you requested does not exist, the function returns nil.

The aggro-list is not ordered (as far as I know; --Auron X 08:42, 27 January 2010 (UTC))

See also: TARGET_HATE_LIST_UPDATED TargetHateListRequest