unlockAchievement: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Add the obsolete notion)
Line 1: Line 1:
{{Command|= Comments
{{Command|Comments=
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma2 |= Game name
| arma2 |Game name=


|1.00|= Game version
|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=
| [[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}}}}]]
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on February 10, 2016 - 09:06 (UTC)</dd>
<dt class="note">[[User:Harmdhast|Harmdhast]]</dt>
<dd class="note">
This is an obsolete command used in the experimental Arma 2 Xbox 360 version.
https://forums.bistudio.com/topic/187873-unlockachievment-command/
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Revision as of 10:37, 29 August 2019

Hover & click on the images for description

Description

Description:
Unlock the given achievement.
This command is obsolete and non-fonctional and was used in the experimental (unreleased) Arma 2 Xbox 360 version as stated here.
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

Notes

Bottom Section