Arma Reforger Script API
|
Scripted API to access platform's achievements. More...
Static Public Member Functions | |
static proto bool | UnlockAchievement (AchievementId achievement) |
Unlocks the given achievement. | |
static proto bool | IncrementAchievementProgress (AchievementStatId stat, int value) |
Increments the given stat . | |
Scripted API to access platform's achievements.
Calls to this API may fail if achievements are not properly configured on used platform or if the platfrom encounters an error (see runtime logs)
|
static |
Increments the given stat .
Cannot decrement Achievements are automatically unlocked if the maximum value is reached. Fails if game is not running vanilla addons only.
value | Value greater then 0 to be added to tracked stat. |
|
static |
Unlocks the given achievement.
Fails if game is not running vanilla addons only.