GetSteamStat

From The Official Visionaire Studio: Adventure Game Engine Wiki
Revision as of 14:25, 3 April 2013 by AFRLme (talk)

Command History

Available since v3.7


Returns the requested steam stat!

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:

getSteamStat(apiName)


Example:

 -- to do!


Arguments

apiName: "string"
The name of the requested stat (this is the API name specified in the steam account for your game)


Flags

none


Return

stat
The integer value of the stat or -1 if the stat could not be retrieved


Relevant Pages: getSteamAchievement - resetSteamStats - setSteamAchievement - setSteamStat