unlockAchievement: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) No edit summary |
Killzone Kid (talk | contribs) mNo edit summary |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Unlocks the given achievement. The | | Unlocks the given achievement. The achievements are listed in CfgAchievements, however none of the currently listed in Arma 3 are used hence the command always returns [[false]].<br></br> | ||
{{Important | This command is obsolete and non-fonctional and was used in the experimental (unreleased) {{arma2}} Xbox 360 version as stated | {{Important | This command is obsolete and non-fonctional and was used in the experimental (unreleased) {{arma2}} Xbox 360 version as stated |
Revision as of 11:36, 29 August 2019
Description
- Description:
- Unlocks the given achievement. The achievements are listed in CfgAchievements, however none of the currently listed in Arma 3 are used hence the command always returns false.
- Groups:
- Uncategorised
Syntax
- Syntax:
- unlockAchievement name
- Parameters:
- name: String - achievement name
- Return Value:
- Boolean - true if achievement was unlocked
Examples
- Example 1:
_isUnlocked = unlockAchievement "Hunter";
Additional Information
- See also:
- setStatValue
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note