SetPVP

From Warcraft Wiki
Jump to navigation Jump to search
GitHub Octocat.png  Townlong-Yak BAD.png  ProfIcons engineering.png  BTNTemp.png C_PvP.SetPVP TheWarWithin-Icon-Inline.pngDragonflight-Icon-Inline.pngCata-Logo-Small.pngWoW Icon update.png + 10.2.6
Wowprogramming.png  BTNTemp.png SetPVP Wrath-Logo-Small.png + 2.0.1 / 1.13.2

Sets the player's PvP flag.

SetPVP(flag)

Arguments

flag
number

Details

  • TogglePVP() is equivalent to SetPVP(not GetPVPDesired())
  • This setting is different from war mode.