View Single Post
07-15-20, 06:52 PM   #5
Naruos
A Defias Bandit
Join Date: Apr 2009
Posts: 3
Originally Posted by Kanegasi View Post
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:
  1. 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

Last edited by Naruos : 07-15-20 at 06:57 PM.
  Reply With Quote