Overwatch

Overwatch game events.

Please read the overwolf.games.events documentation page to learn how to use Overwolf game events. 

Game ID

  • 10844

Available Features

  • kills
  • death
  • preGame
  • postGame
  • player
  • roster

Sample app

Events

Feature Information
kills
Event Event Data Fired when Notes Since Version
kill JSON containing:
  • label: ‘kill’ / ‘double_kill’ / ‘triple_kill’ / ‘quadruple_kill’ / ‘quintuple_kill’ / ‘sixtaple_kill’
Killing another hero
  • Immediate kill events (not aggregated).
    For example for “double kill” you’ll get the following JSON:
    (kill + kill + double kill)
    {"events":[{"name":"kill","data":"{"label": "kill"}"}]}
    {"events":[{"name":"kill","data":"{"label": "kill"}"}]}
    {"events":[{"name":"kill","data":"{"label": "double_kill"}"}]}
0.47.0
assist   Player helps eliminate another player   0.59.1
death  
Event Event Data Fired when Notes Since Version
death   The user’s player dies   0.59.1
preGame
Event Event Data Fired when Notes Since Version
countdown   Countdown for the game occur. (When the players wait for the door to be opened)   0.59.1
postGame
Event Event Data Fired when Notes Since Version
playOfTheGame   when play of the game is played in the game   0.47.0

playerOfTheGame

player of the game name when play of the game is played in the game   0.59.1
gameOver   Game ends   0.59.1
roster
Event Event Data Fired when Notes Since Version
playerLeft

 JSON containing:

  • battle.net tag
  • account id
  • team (A | B)
  • level
  • local_player (0 | 1)
{  
   "battle_tag":"battle.net tag",
   "account_id":"account id",
   "team":["A" | "B"],
   "level":"level",
   "local_player":["0" | "1"]
}
Player has left the current match   0.75.0
playerJoined JSON containing:
  • battle.net tag
  • account id
  • level
  • team (A | B)
  • local_player (0 | 1)
     {
      "battle_tag": "battle.net tag",
      "account_id": "account id",
      "team": ["A" | "B"],      
      "level": "level",
      "local_player": ["0" | "1"]
     }
Player joined the current match   0.75.0
localPlayerLeft battle.net tag The user’s player has left the current match. (Fires also when the user leaves the game before the match starts)    

 

Info-Updates

The Game Events Provider keeps an info DB with various information about the game state.
Updates about this information can be received as events by registering an event listener using overwolf.games.events.onInfoUpdates2()
It is also possible to get the current available information using overwolf.games.events.getInfo()

Feature Information
player
Key Category Values Notes Since Version
heroSelected player The player’s hero id

 

Hero ID
Ana 315
Bastion 21
D.Va 122
Doomfist 303
Genji 41
Hanzo 5
Junkrat 101
Lucio 121
McCree 66
Mei  221
Mercy  4
Moira 418
 Orisa  318
 Pharah  8
 Reaper  2
 Reinhardt  7
 Roadhog  64
 Soldier 76  110
 Sombra  302
 Symmetra  22
 Torbjorn  6
 Tracer  3
Widowmaker 10
Winston 9
Zarya 104
Zenyatta 32

 

 0.59.1
roster
Key Category Values Notes Since Version
teamA teamsInfo

Array of player objects:

[{playerJoined object}, {playerJoined object} ...]

A player object:

     {
      "battle_tag": "battle.net tag",
      "account_id": "account id",
      "team": ["A" | "B"],      
      "level": "level",
      "local_player": ["0" | "1"]
     }
  0.75.0
teamB  teamsInfo

Array of player objects:

[{playerJoined object}, {playerJoined object} ...]

A player object:

     {
      "battle_tag": "battle.net tag",
      "account_id": "account id",
      "team": ["A" | "B"],      
      "level": "level",
      "local_player": ["0 "| "1"]
     }
   0.75.0