Skip to content
View in the app

A better way to browse. Learn more.

WRobot

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

how do i return a list of player names based on party index

Featured Replies

something similar to below sent from c

Lua.LuaDoString


for groupindex = 1; MAX_PARTY_MEMBERS do
 debuff = UnitDebuff("party"..groupindex , 1, SHOW_DISPELLABLE_DEBUFFS);
if ( debuff ) then
        DEFAULT_CHAT_FRAME:AddMessage("how do I return a list of player names here back to c#" );
else 
DEFAULT_CHAT_FRAME:AddMessage("return no -one to dispel" );
end
end

1 hour ago, byron said:

something similar to below sent from c

Lua.LuaDoString


for groupindex = 1; MAX_PARTY_MEMBERS do
 debuff = UnitDebuff("party"..groupindex , 1, SHOW_DISPELLABLE_DEBUFFS);
if ( debuff ) then
        DEFAULT_CHAT_FRAME:AddMessage("how do I return a list of player names here back to c#" );
else 
DEFAULT_CHAT_FRAME:AddMessage("return no -one to dispel" );
end
end

you just do a return with Lua.LuaDoString<String>("return functionName");

  • Author

Hi I think I was more wondering

from c# how do I find the party index number for a member of the group

or given the index number, from lua how do I find the players name to return to c# (it it was a raid I could use raidroster with the index to return the players name, just wondered how to do it when they are a party)

 

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.