Get Local (Cached) Stat

Reads a user stat from the local Steam cache. Select the Stat Type; the value is returned in the matching output pin.
Inputs
Pin |
Type |
Description |
|---|---|---|
Stat API Name |
String |
Exact stat identifier defined in Steamworks (e.g., ST_KILLS). |
Stat Type |
Enum (Integer / Float / Average) |
Which kind of stat to read. (Average returns a float rate.) |
Outputs
Pin |
Type |
Description |
|---|---|---|
Integer Value |
int32 |
Populated when Stat Type = Integer. |
Float Value |
float |
Populated when Stat Type = Float or Average (rate). |
Success |
Bool |
true if the value was read from the local cache. |
Notes
- Call Request Current Stats And Achievements once per session to initialize the local cache.
- This reads from the local cache only (no network).
- For Average stats, Steam stores a float rate; read it via Float Value.