unlockAchievement: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \{\{GameCategory *\| *arma2 *\| *(New )?Scripting Commands\}\}" to "") |
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3") |
||
Line 17: | Line 17: | ||
|gr2= System | |gr2= System | ||
| 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]].<br></br> | |descr= 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]].<br></br> | ||
{{Feature | important | This command is obsolete and was used in the experimental (unreleased) {{arma2}} Xbox 360 version as stated | {{Feature | important | This command is obsolete and was used in the experimental (unreleased) {{arma2}} Xbox 360 version as stated |
Revision as of 21:26, 13 June 2021
Description
- 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.
- Groups:
- Broken CommandsSystem
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