WoW:API UnitGroupRolesAssigned: Difference between revisions
Jump to navigation
Jump to search
(Initial version) |
m (Move page script moved page API UnitGroupRolesAssigned to API UnitGroupRolesAssigned without leaving a redirect) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 3: | Line 3: | ||
Returns the assigned role in a group formed via the Dungeon Finder Tool. | Returns the assigned role in a group formed via the Dungeon Finder Tool. | ||
<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args --> | <!-- List return values and arguments as well as function name, follow Blizzard usage convention for args --> | ||
role = UnitGroupRolesAssigned(Unit); | |||
== Arguments == | == Arguments == | ||
<!-- List each argument, together with its type --> | <!-- List each argument, together with its type --> | ||
;Unit : String - the unit to be queried (player, party1 .. party4) | ;Unit : String - the unit to be queried (player, party1 .. party4, target, raid1 .. raid40) | ||
== Returns == | == Returns == | ||
<!-- List each return value, together with its type --> | <!-- List each return value, together with its type --> | ||
; | ;role : String - TANK, HEALER, DAMAGER, NONE | ||
Latest revision as of 04:47, 15 August 2023
← WoW API < UnitGroupRolesAssigned
Returns the assigned role in a group formed via the Dungeon Finder Tool.
role = UnitGroupRolesAssigned(Unit);
Arguments
- Unit
- String - the unit to be queried (player, party1 .. party4, target, raid1 .. raid40)
Returns
- role
- String - TANK, HEALER, DAMAGER, NONE