WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   General Authoring Discussion (https://www.wowinterface.com/forums/forumdisplay.php?f=20)
-   -   Demote raid assistant? (https://www.wowinterface.com/forums/showthread.php?t=57571)

Zax 10-03-19 09:01 AM

Demote raid assistant?
 
In a raid, player will gain Raid Assistant status after the transfer of leadership if he was Raid Leader.
Is there a way avoid that, or at least a way to demote this player when receiving PARTY_LEADER_CHANGED event?

I saw /clearmainassist macro but performing RunMacroText() is protected.

Thank you.

SDPhantom 10-03-19 03:25 PM

The command runs ClearPartyAssignment(), which appears to be a protected function as well.
https://www.townlong-yak.com/framexm...Frame.lua#1507

Zax 10-04-19 08:30 AM

Thanks, following your link, I found /mainassistoff player.
Still a macro, but at least it works.


All times are GMT -6. The time now is 11:17 AM.

vBulletin © 2020, Jelsoft Enterprises Ltd
© 2004 - 2020 MMOUI