Difference between revisions of "ResetSteamStats"

From The Official Visionaire Studio: Adventure Game Engine Wiki
Line 42: Line 42:
 
<span class="bold">success</span> <br/>
 
<span class="bold">success</span> <br/>
 
True if the stats were cleared successfully, false if the operation failed
 
True if the stats were cleared successfully, false if the operation failed
{{i18n|ResetSteamStats}}} <br/>
+
{{i18n|ResetSteamStats}} <br/>
 
{| class="tbl-ds"
 
{| class="tbl-ds"
 
|-
 
|-
 
|<span class="bold">Relevant Pages</span>: [[GetSteamAchievement|getSteamAchievement]] - [[GetSteamStat|getSteamStat]] - [[SetSteamAchievement|setSteamAchievement]] - [[SetSteamStat|setSteamStat]]
 
|<span class="bold">Relevant Pages</span>: [[GetSteamAchievement|getSteamAchievement]] - [[GetSteamStat|getSteamStat]] - [[SetSteamAchievement|setSteamAchievement]] - [[SetSteamStat|setSteamStat]]
 
|}
 
|}

Revision as of 14:27, 3 April 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:

 -- to do!


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


Relevant Pages: getSteamAchievement - getSteamStat - setSteamAchievement - setSteamStat