Warning
This command is listed as broken on the wiki.
Description
Unlocks the given achievement. The achievements are listed in CfgAchievements, however none of the currently listed achievements is used in Arma 3, hence the command always returns false.
Important
This command is obsolete and was used in the experimental (unreleased) Arma 2 Xbox 360 version as stated here.
Note
Arma 3: To unlock a Steam Achievement for Arma 3, see setStatValue.
Syntax
unlockAchievement name
Parameters:
name: String - achievement name
Returns: Boolean - true if achievement was unlocked
Examples
Example 1
_isUnlocked = unlockAchievement "Hunter";