Page cover image

🔵Set User Float Stat

Like what you're seeing?

Introduction

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