Difference between revisions of "GetSteamStat"

From The Official Visionaire Studio: Adventure Game Engine Wiki
Line 36: Line 36:
  
 
none
 
none
 +
  
 
<b><u>Return</u></b>
 
<b><u>Return</u></b>

Revision as of 19:31, 11 March 2013

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:

n/a


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