Description
Adds a value to the specified stat scaled by the TimeManager's relative time factor.
Parameters
| Parameter | Description |
|---|
| BaseObject | The entity whose stat is modified |
| S1 | Stat ID to modify (e.g., Hungry, Energy, Bladder) |
| F1 | Base amount to add before scaling by the relative time factor |
Examples
| Description | BaseObject | Command | S1 | F1 |
|---|
| Add time-scaled 1.0 to Self's Hungry stat | Self | AddScaledStat | Hungry | 1.0 |
| Subtract time-scaled 0.5 from Target's Energy stat | Target | AddScaledStat | Energy | -0.5 |
| Add time-scaled amount to Self's Bladder stat | Self | AddScaledStat | Bladder | 2.0 |