Difference between revisions of "ResetSteamStats"

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>
 +
 
  
 
Resets all steam stats!
 
Resets all steam stats!
{| class="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%">
! Additional Info
+
<b>Additional Info</b>
|-
+
<div class="mw-collapsible-content">
|
+
<div>This command will only work if the steam_api library was included (& successfully loaded) & if a steam account for your game exists!</div>
This command will only work if the steam_api library was included (& successfully loaded) & if a steam account for your game exists!
+
</div></div>
|}
+
 
  
 
Syntax:
 
Syntax:
Line 13: Line 18:
 
resetSteamStats([resetAchievements])
 
resetSteamStats([resetAchievements])
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
  
 
Example:
 
Example:
Line 18: Line 24:
 
n/a
 
n/a
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
  
  

Revision as of 19:41, 7 March 2013

Command History

Available since v3.7


Resets all steam stats!

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:

resetSteamStats([resetAchievements])


Example:

n/a


Arguments

resetAchievements: boolean (true/false)
If true all achievements will be cleared, otherwise only all stats will be reset. Default value is false!

Flags: none

Return: success
True if the stats were cleared successfully, false if the operation failed