Skip to content

PVP_OBJECTIVE_CAPTURED ​

Fired when a player captures a PVP objective.

Payload ​

lua
{
  objectiveType = Enums.ObjectiveType,   -- .Flag, .Base, .Tower
  location = string,                     -- "Warsong Gulch" or zone name
  objectiveName = string                 -- "Farm", "Stables", etc.
}

Examples ​

Flag Captures ​

lua
{
  id = 560,
  name = "Flag Runner",
  description = "Capture 50 flags in WSG",
  points = 30,
  category = 2,
  icon = 132485,
  cadence = Enums.Cadence.AllTime,
  trigger = {
    event = "PVP_OBJECTIVE_CAPTURED",
    conditions = {
      objectiveType = Enums.ObjectiveType.Flag,
      location = "Warsong Gulch"
    }
  },
  progress = {
    type = "count",
    required = 50
  }
}

Base Captures ​

lua
{
  id = 561,
  name = "Resource Gatherer",
  description = "Capture 100 bases in Arathi Basin",
  points = 30,
  category = 2,
  icon = 132485,
  cadence = Enums.Cadence.AllTime,
  trigger = {
    event = "PVP_OBJECTIVE_CAPTURED",
    conditions = {
      objectiveType = Enums.ObjectiveType.Base,
      location = "Arathi Basin"
    }
  },
  progress = {
    type = "count",
    required = 100
  }
}