Difference between revisions of "GetSteamAchievement"

From The Official Visionaire Studio: Adventure Game Engine Wiki
Line 45: Line 45:
 
{| class="tbl-ds"
 
{| class="tbl-ds"
 
|-
 
|-
|<span class="bold">Relevant Pages</span>: [[GetSteamStat|getSteamStat]] - [[SetSteamAchievement|setSteamAchievement]] - [[SetSteamStat|setSteamStat]]
+
|<span class="bold">Relevant Pages</span>: [[GetSteamStat|getSteamStat]] - [[ResetSteamStats|resetSteamStats]] - [[SetSteamAchievement|setSteamAchievement]] - [[SetSteamStat|setSteamStat]]
 
|}
 
|}

Revision as of 14:23, 3 April 2013

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:

getSteamAchievement(apiName)


Example:

-- to do!


Arguments

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


Flags

none


Return

achievement
True/false depending if the achievement is set or not, false if the operation failed


Relevant Pages: getSteamStat - resetSteamStats - setSteamAchievement - setSteamStat