Returns the index of the raid target marker on a unit
See also Raid functions.
Signature:
index = GetRaidTargetIndex("unit") or GetRaidTargetIndex("name")
Arguments:
unit- A unit to query (string, unitID)name- The name of a unit to query; only valid forplayer,pet, and party/raid members (string)
Returns:
index- Index of a target marker (number)1- Star2- Circle3- Diamond4- Triangle5- Moon6- Square7- Cross8- Skullnil- No marker