🔵Set User Float Stat
Like what you're seeing?
Support us as a GitHub Sponsor and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude. These articles are made possible by our GitHub Sponsors ... become a sponsor today!
Introduction
Only valid for Steam Game Servers
Sets/updates the value of a given stat for the specified user.
You must have called Request User Stats and it needs to return successfully via its callback prior to calling this!
This call only modifies Steam's in-memory state and is very cheap. To submit the stats to the server you must call Store User Stats.
This will work only on achievements that game servers are allowed to set. If the "Set By" field for this achievement is "Official GS" then only game servers that have been declared as officially controlled by you will be able to set it. To do this you must set the IP range of your official servers in the Dedicated Servers section of App Admin.
User
The user to set the stat for
API Name
The API Name of the stat to set
Value
The value to apply to the stat
Return Value
True if successful
Nodes
Last updated