Difference between revisions of "API SetPVPRoles"

From Wowpedia
Jump to: navigation, search
(Created page with "{{wowapi}} Sets which roles the player is willing to perform in PvP battlegrounds. SetPVPRoles(tank, healer, dps) == Arguments == ; tank : Boolean - true if the player is wi...")
 
Tag: WoW API docs
 
Line 8: Line 8:
 
; dps : Boolean - true if the player is willing to deal damage, false otherwise.
 
; dps : Boolean - true if the player is willing to deal damage, false otherwise.
   
== Triggers Events ==
+
== Triggers events ==
 
* {{api|t=e|PVP_ROLE_UPDATE}}
 
* {{api|t=e|PVP_ROLE_UPDATE}}
   

Latest revision as of 13:21, 4 June 2020

Sets which roles the player is willing to perform in PvP battlegrounds.

SetPVPRoles(tank, healer, dps)

Arguments

tank 
Boolean - true if the player is willing to tank, false otherwise.
healer 
Boolean - true if the player is willing to heal, false otherwise.
dps 
Boolean - true if the player is willing to deal damage, false otherwise.

Triggers events

Patch history

Mists of Pandaria Patch 5.3.0 (2013-05-21): Added.


See also