steam_activate_overlay_store

Activate the Steam user interface overlay for your game to buy DLC.

Syntax:

steam_activate_overlay_store(app_id);


Argument Description
app_id The unique App ID for your game.


Returns: N/A


Description

With this function you can open the Steam overlay on the store page for a game so that users can buy or download DLC (for example). You need to supply the unique App ID for the game or DLC which you would get from the Steam dashboard when you set it up.


Example:

if keyboard_check_pressed(vk_f1)
   {
   steam_activate_overlay_store(global.DLC_id);
   }

The above code polls the keyboard for the F1 key and if it is then Steam overlay will be opened on the page for the game content using the app ID stored in the global variable.


Back: Steam API
Next: steam_activate_overlay_user
© Copyright YoYo Games Ltd. 2018 All Rights Reserved