Difference between revisions of "SetSteamAchievement"

From The Official Visionaire Studio: Adventure Game Engine Wiki
(Created page with "<div class="toccolours mw-collapsible mw-collapsed" style="background: #f0f0f0; border: 1px dashed darkgrey" width="100%"> <b>History Changelog</b>: <div class="mw-collapsible...")
 
Line 1: Line 1:
 
<div class="toccolours mw-collapsible mw-collapsed" style="background: #f0f0f0; border: 1px dashed darkgrey" width="100%">
 
<div class="toccolours mw-collapsible mw-collapsed" style="background: #f0f0f0; border: 1px dashed darkgrey" width="100%">
<b>History Changelog</b>:
+
<b>Command History</b>
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
 
Available since <span style="color:green">v3.7</span>
 
Available since <span style="color:green">v3.7</span>
 
</div></div>
 
</div></div>
 +
  
 
Gets current state of a steam achievement!
 
Gets current state of a steam achievement!

Revision as of 19:04, 6 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