unlockAchievement: Difference between revisions
Jump to navigation
Jump to search
m (template:command argument fix) |
Lou Montana (talk | contribs) m (Add the obsolete notion) |
||
Line 1: | Line 1: | ||
{{Command|= | {{Command|Comments= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| arma2 | | | arma2 |Game name= | ||
|1.00| | |1.00|Game version= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Unlock the given achievement. |DESCRIPTION= | | Unlock the given achievement. | ||
{{Important | This command is obsolete and non-fonctional 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]. }} |DESCRIPTION= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[unlockAchievement]] name |SYNTAX= | ||
|p1= name: [[String]] |PARAMETER1= | |p1= name: [[String]] |PARAMETER1= | ||
| [[Boolean]] |RETURNVALUE= | | [[Boolean]] |RETURNVALUE= | ||
|x1= <code>_isUnlocked = [[unlockAchievement]] "someAchievement";</code>|EXAMPLE1= | |x1= <code>_isUnlocked = [[unlockAchievement]] "someAchievement";</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 41: | Line 42: | ||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | ||
Revision as of 10:37, 29 August 2019
Description
- Description:
- Unlock the given achievement.
- Groups:
- Uncategorised
Syntax
- Syntax:
- unlockAchievement name
- Parameters:
- name: String
- Return Value:
- Boolean
Examples
- Example 1:
_isUnlocked = unlockAchievement "someAchievement";
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