API:GetRaidTargetIndex

Description Returns the Raid target icon number assigned to the UnitID string GetRaidMember( int n )

Input string - UnitID (player, target, pet, raid1..raid36)

Output int - number corisponds to the target icon assigned to the raid member.

Example : /script DEFAULT_CHAT_FRAME:AddMessage(GetRaidTargetIndex("raid9"))