SetSteamStat

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

Command History

Available since v3.7


Sets the specified steam stat to the given value!

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:

setSteamStat(apiName, value)


Example:

-- to do!


Arguments

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

value: integer (number)
The included stat will be set to the listed value!


Flags

none


Return

success
True if the value was set successfully, false if the operation failed!


Relevant Pages: getSteamAchievement - getSteamStat - resetSteamStats - setSteamAchievement