unlockAchievement: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " " to " ")
m (Text replacement - "\{\{( *)Important( *)\|" to "{{$1Feature$2|$2important$2|")
Line 11: Line 11:
| 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>
| 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>


{{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
[https://forums.bohemia.net/forums/topic/187873-unlockachievment-command/?tab{{=}}comments#comment-2978436 here]. }}
[https://forums.bohemia.net/forums/topic/187873-unlockachievment-command/?tab{{=}}comments#comment-2978436 here]. }}
{{Feature|arma3 | To unlock a [[Arma 3 Stat Names|Steam Achievement]] for {{arma3}}, see [[setStatValue]].}}
{{Feature|arma3 | To unlock a [[Arma 3 Stat Names|Steam Achievement]] for {{arma3}}, see [[setStatValue]].}}

Revision as of 03:11, 7 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Broken CommandsSystem

Syntax

Syntax:
Syntax needed
Parameters:
name: String - achievement name
Return Value:
Return value needed

Examples

Example 1:
_isUnlocked = unlockAchievement "Hunter";

Additional Information

See also:
See also needed

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