Originally Posted by Kanegasi
Instead of the 0-8 loop, OP needs to loop through all group units using the 0 index. This will clear any marker they have with no message. This is easy with the group, but harder with non-group units, especially if a mark is on something that is still alive but no longer a valid unit.
|
You mean something like
Lua Code:
s = IsInRaid() and "raid" or "party" ; for i = 1, GetNumGroupMembers() do u = s..i ; SetRaidTarget(u, 0); end
?
Yeah, that works for the raid I guess. I must admit I didn't realize it when I posted, that I worded my question to be about the raid members specifically. Well, at least I have my answer either way. I either accept the spam, or I clear it off raid members only.
If only
IsRaidMarkerActive() hadn't returned the status for world markers instead of raid markers (or at least that's how I understood it), I could have used that to minimize the spam.
Thanks all of you for the help