Difference between revisions of "ResetSteamStats"

From The Official Visionaire Studio: Adventure Game Engine Wiki
(Created page with "<b>History</b>: Available since <span style="color:green">v3.7</span> Returns the requested steam stat! {| class="mw-collapsible mw-collapsed" style="background: #f0f0f0; bor...")
 
Line 1: Line 1:
 
<b>History</b>: Available since <span style="color:green">v3.7</span>
 
<b>History</b>: Available since <span style="color:green">v3.7</span>
  
Returns the requested steam stat!
+
Resets all steam stats!
 
{| class="mw-collapsible mw-collapsed" style="background: #f0f0f0; border: 1px dashed darkgrey" width="100%"
 
{| class="mw-collapsible mw-collapsed" style="background: #f0f0f0; border: 1px dashed darkgrey" width="100%"
 
! Additional Info
 
! Additional Info

Revision as of 18:47, 6 March 2013

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