Fortnite

Fortnite game events.

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

Game ID

  • 21216

Sample app

Available Features:

  • kill
  • killed
  • killer
  • revived
  • death
  • match
  • rank
  • me
  • phase
  • location
  • team
  • items

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
kill
Key Category Values Notes Since Version
kills match_info

Total number of kills in the match

   110.1.3
match
Key Category Values Notes Since Version
mode match_info

[‘solo’|’duo’|’squad’]

{"mode":"squad"}
  110.1.3
rank  
Key Category Values Notes Since Version
 rank match_info

The player’s rank at the end of the match

  110.1.3
total_teams match_info

The total number of active teams

Note – this is a dynamic variable that is being updated every time team joins or leaves (all of the team members died) the game

  110.1.3
total_players match_info

The total number of active players

Note – this is a dynamic variable that is being updated every time a player joins or leaves (die) the game

  110.1.3
me  
Key Category Values Notes Since Version
 name  me

The player’s nickname

{"name":"itayG"}
  110.1.3
health me

The player’s current health % (100-0)

{"health":"37"}
  110.1.3
phase
Key Category Values Notes Since Version
 phase  game_info

The game’s current state, can be one of the following:

  • ‘lobby’
  • ‘loading_screen’
  • ‘airfield’
  • ‘aircraft’
  • ‘freefly’
  110.1.3

location

 

Note: “location” is currently not available

Key Category Values Notes Since Version
 location  game_info

The player’s current grid location, represented by (x,y).

  • Top left corner of the map is (0,0)
  • Bottom right corner of the map is (2500.-2500)
{"x" : 621, "y" : -2769}
  114.1.1
team
Key Category Values Notes Since Version
nicknames match_info

The names of the players in the user’s team

{"feature":"team","category":"match_info","key":"nicknames",
"value":"{\"team_members\":
[{\"player\":\"Itaygl\"},{\"player\":\"ErW_iN\"},
{\"player\":\"einhorn28\"},{\"player\":\"Jacqulees\"}]}"}
  117.1.1
items
Key Category Values Notes Since Version
item_X inventory

The current inventory of the local player.

Each item in the inventory contains the following properties:

  • name – name of the item
  • count – number of units
  • ammo – amount loaded ammo (when relevant)
"inventory":{  
   ...
   "item_10":"{\"name\":\"Stone\",\"count\":\"37\",\"ammo\":\"0\"}",
   "item_3":"{\"name\":\"Wood\",\"count\":\"96\",\"ammo\":\"0\"}",
   "item_7":"{\"name\":\"Ammo: Medium Bullets\",\"count\":\"126\",\"ammo\":\"0\"}",
   "item_11":"{\"name\":\"Ammo: Rockets\",\"count\":\"4\",\"ammo\":\"0\"}",
   "item_8":"{\"name\":\"Ammo: Heavy Bullets\",\"count\":\"12\",\"ammo\":\"0\"}",
   "item_12":"{\"name\":\"Bandage\",\"count\":\"10\",\"ammo\":\"0\"}",
   "item_4":"{\"name\":\"Ammo: Light Bullets\",\"count\":\"54\",\"ammo\":\"0\"}",
   "item_15":null,
   "item_14":null,
   "item_13":"{\"name\":\"Assault Rifle\",\"count\":\"1\",\"ammo\":\"25\"}",
...
         },

 

  •  When an item is dropped, its value will be updated to “null”
    "item_1":null
119.2
selected_slot selected_slot

The currently selected slot in the quickbar.

This info-update includes the  following properties:

  •  isPrimary – “true” when the selected slot is in the main quickbar (weapons), “false” when the selected slot is in the secondary quickbar (build options)
  • slot – the selected slot (0-5)
{"info":{"selected_slot":
{"selected_slot":"{\"isPrimary\":true,\"slot\":\"1\"}"}},
"feature":"items"}
   119.2
quickbar_X quickbar

The names of the items in the primary quickbar.

{"info":{"quickbar":{"quickbar_1":"{\"name\":\"Submachine Gun\"}"}},
"feature":"items"}
   119.2
selected_material selected_material

The currently selected building material.

Possible values are:

  • 0 – wood
  • 1- stone
  • 2 – metal
{"info":{"selected_material":{"selected_material":"1"}},
"feature":"items"}
   119.2

 

Events

Feature Information
 kill  
Event Event Data Fired when Notes Since Version
kill null The local player killed another player   110.1.3
knockout null The local player knockedout another player   110.1.3
killed
Event Event Data Fired when Notes Since Version
killed

The name of the killed player

{"name":"killed","data":"itaygl"}
The local player killed another player   117.1.1
killer
Event Event Data Fired when Notes Since Version
killer

The name of the killer

{"name":"killer","data":"itaygl"}
The local player was killed   117.1.1
 revived
Event Event Data Fired when Notes Since Version
revived null The local player was revived   110.1.3
 death
Event Event Data Fired when Notes Since Version
death null The local player died   110.1.3
knockedout The name of the player who knocked you out
{"events":[{"name":"knockedout","data":"itaygl"}]}
The local player is knocked-out   118.1.0
match
Event Event Data Fired when Notes Since Version
matchStart null Match started   110.1.3
matchEnd null Match ended   110.1.3