GameMaker What is wrong with the Steam Screenshot fuction?

D

Dwighty4000

Guest
When I didn't know I pinned the ID from the Steam page in Gamemaker Studio to my game to unlock achievements etc.
Everything still worked independently and I was able to take screenshots in my game without programming a specific function for it in GMS2 in my code.
But since I inserted the Steam ID of my game into GMS2 to enable the Steam achievements, nothing happens when I press F5 to take a Steam screenshot.
I do not want to take screenshots in GMS2, but steam screenshots, so that we do not misunderstand each other and so that the screenshots are saved on every Steam user on his Steam profile, as it was before I got the Steam ID from my Steam shop page with my game in GMS2, linked in the settings ...
 
D

Dwighty4000

Guest
This is not helpfull.
Your Code make no sence and is marked as blue like: "log" from:
Code:
var _scr = false;
if steam_is_screenshot_requested() == true
   {
   log("Steam Screenshot Request"); // wrapper script for show_debug_message
   _scr = true;
   }
if keyboard_check_pressed(vk_printscreen)
   {
   log("PrintScreen Screenshot Request");
   _scr = true;
   }
if keyboard_check_direct(vk_printscreen)
   {
   log("PrintScreen Direct Screenshot Request");
   _scr = true;
   }
if _scr
{
screen_save_part(file, 0, 0, window_get_width(), window_get_height());
if steam_initialised()
       {
       steam_send_screenshot(file, window_get_width(), window_get_height());
       }
}
 
Top