Thread Tools Display Modes
10-03-19, 09:01 AM   #1
Zax
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Aug 2006
Posts: 147
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.
  Reply With Quote
10-03-19, 03:25 PM   #2
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,313
The command runs ClearPartyAssignment(), which appears to be a protected function as well.
https://www.townlong-yak.com/framexm...Frame.lua#1507
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote
10-04-19, 08:30 AM   #3
Zax
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Aug 2006
Posts: 147
Thanks, following your link, I found /mainassistoff player.
Still a macro, but at least it works.
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Demote raid assistant?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off