Difference between revisions of "GetSteamStat"

From The Official Visionaire Studio: Adventure Game Engine Wiki
Line 4: Line 4:
 
<div style="background:#ebebeb" width="100%">Available since <span style="color:orange">v3.7</span></div>
 
<div style="background:#ebebeb" width="100%">Available since <span style="color:orange">v3.7</span></div>
 
</div></div>
 
</div></div>
 +
  
 
Returns the requested steam stat!
 
Returns the requested steam stat!

Revision as of 19:29, 7 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