Arma 3 Scripting

Command in Broken Commands, System

unlockAchievement

Also available as Markdown and JSON, or read the original wiki page.

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:

Returns: Boolean - true if achievement was unlocked

Examples

Example 1

_isUnlocked = unlockAchievement "Hunter";

See also

setStatValue