SetSteamAchievement

From The Official Visionaire Studio: Adventure Game Engine Wiki
Revision as of 19:44, 7 March 2013 by AFRLme (talk)

Command History

Available since v3.7


Gets current state of a steam achievement!

Additional Info

This command will only work if the steam_api library was included (& successfully loaded) & if a steam account for your game exists!


Syntax:

setSteamAchievement(apiName, {flags=1, clear = true|false})


Example:

n/a


Arguments

apiName: "string"
The name of the requested achievement (this is the API name specified in the steam account for your game)

Flags: clr/clear
If true the achievement will be cleared. Default value is false!

Return: success
True if the achievement was set successfully, false if the operation failed!