Difference between revisions of "GetSteamAchievement"

From The Official Visionaire Studio: Adventure Game Engine Wiki
Line 1: Line 1:
<b>History</b>: Available since <span style="color:green">v3.7</span>
+
<div class="toccolours mw-collapsible mw-collapsed" style="background: #f0f0f0; border: 1px dashed darkgrey" width="100%">
 +
<b>Command History</b>
 +
<div class="mw-collapsible-content">
 +
<div style="background:#ebebeb" width="100%">Available since <span style="color:orange">v3.7</span></div>
 +
</div></div>
 +
 
  
 
Gets current state of a steam achievement!
 
Gets current state of a steam achievement!
Line 8: Line 13:
 
This command will only work if the steam_api library was included (& successfully loaded) & if a steam account for your game exists!
 
This command will only work if the steam_api library was included (& successfully loaded) & if a steam account for your game exists!
 
|}
 
|}
 +
  
 
Syntax:
 
Syntax:
Line 13: Line 19:
 
getSteamAchievement(apiName)
 
getSteamAchievement(apiName)
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
  
 
Example:
 
Example:
Line 18: Line 25:
 
n/a
 
n/a
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
  
  

Revision as of 19:23, 7 March 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:

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: none

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