unlockAchievement: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (example)
(One intermediate revision by the same user not shown)
Line 14: Line 14:
|p1= name: [[String]] |= PARAMETER1  
|p1= name: [[String]] |= PARAMETER1  


|p2= |= PARAMETER2
|p3= |= PARAMETER3


| [[Boolean]] |= RETURNVALUE  
| [[Boolean]] |= RETURNVALUE  




|x1= <code>(example)</code>|= EXAMPLE1  
|x1= <code>_isUnlocked = [[unlockArchievement]] "someAchievement";</code>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________
Line 44: Line 41:
[[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 12:33, 8 June 2018

Hover & click on the images for description

Description

Description:
Unlock the given achievement.
Groups:
Uncategorised

Syntax

Syntax:
unlockAchievement name
Parameters:
name: String
Return Value:
Boolean

Examples

Example 1:
_isUnlocked = unlockArchievement "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

Posted on February 10, 2016 - 09:06 (UTC)
Harmdhast
This is an obsolete command used in the experimental Arma 2 Xbox 360 version. https://forums.bistudio.com/topic/187873-unlockachievment-command/