Hello,
I have a problem with this plugin. I've copied wme_steam.dll and steam_api.dll to WME DevKit folder. At the begining of game.script I added line
global g_Steam = new SteamAPI();
in base.script I have
global a_ship_escape;
and in my scene.init script where I want to unlock achievment I have:
if(a_ship_escape == null)
{
g_Steam.SetAchievement("a_ship_escape");
a_ship_escape = true;
}
Problem is that I can't compile my game because I got error:
Method is called for 'g_Steam' which is not defined
Error applying filter to file [my scene.ini path here]
In project settings/plugins I turned on wme_steam.dll
I really need a help
PROBLEM SOLVED
I have forgot to initialize "global g_Steam;" at my scene.init