steam_activate_overlay_store

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

Syntax:

GML Code Example

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:

GML Code 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.





No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here