Tommah
Member
I'm trying to implement achievements in my Steam game and looked through all the documentation and found this.
(yes, I have changed the achievement names to fit my own)
But also saw that I need to wait until "steam_stat_ready" returns true but it never does, it only returns -1.
This is listed in the "steam_stat_ready" page to check if everything is initialized correctly
but it NEVER comes back true and none of my achievements work. I can't find any other documentation or thread that discusses this any further so I am completely confused.
Code:
if !steam_get_achievement("ach_Player_Dies_Ten_Times") steam_set_achievement("ach_Player_Dies_Ten_Times");
But also saw that I need to wait until "steam_stat_ready" returns true but it never does, it only returns -1.
This is listed in the "steam_stat_ready" page to check if everything is initialized correctly
Code:
global.steam_api = false;
if steam_initialised()
{
if steam_stats_ready() && steam_is_overlay_enabled()
{
global.steamapi = true;
}
}
Last edited: