Activate the Steam user interface overlay with a specific user or group ID.


GML Code Example

steam_activate_overlay_user(dialog_name, steamid);

Argument Description
dialog_name The dialogue to open the overlay on (see below).
steamid The Steam user ID or group ID to use.

Returns: N/A


This function will open the Steam overlay to one of the chosen dialogues relating to the user ID given. The possible dialogue strings available are:

  • "steamid" - opens the Steam Community web browser to the page of the user or group
  • "chat" - opens a chat window to the specified user


GML Code Example

var key = keyboard_lastkey;
 switch (key)
    case vk_f1: steam_activate_overlay_user("steamid", global.GameGroupID); break;
    case vk_f2: steam_activate_overlay_user("chat", global.FriendID); break;

The above code polls the last keyboard key pressed and if it is function key 1 or function key 2, it will open the Steam overlay to either see the Steam group stored in the global variable "GamegroupID", or it will open the chat window to chat with the user stored in the global "FriendID" 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