Difference between revisions of "Gaming:incrementAchievement"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2012.09<br/> === Description === Increment achievement progress Either. `Event.REPORT_ACHIEVEMENTS_COMPLETE` or `Event.REPORT_ACHIEVEM...") |
|||
Line 4: | Line 4: | ||
Increment achievement progress Either. `Event.REPORT_ACHIEVEMENTS_COMPLETE` or `Event.REPORT_ACHIEVEMENTS_ERROR` will be triggered. | Increment achievement progress Either. `Event.REPORT_ACHIEVEMENTS_COMPLETE` or `Event.REPORT_ACHIEVEMENTS_ERROR` will be triggered. | ||
<source lang="lua"> | <source lang="lua"> | ||
− | + | Gaming:incrementAchievement(achievementId,numSteps,immediate) | |
</source> | </source> | ||
− | '''achievementId | + | '''achievementId''': (string) Achievement Id ''''''<br/> |
− | '''numSteps | + | '''numSteps''': (number) Number of steps to add '''optional'''<br/> |
− | '''immediate | + | '''immediate''': (boolean) Push the update immediately ''''''<br/> |
Revision as of 10:17, 23 August 2018
Available since: Gideros 2012.09
Description
Increment achievement progress Either. `Event.REPORT_ACHIEVEMENTS_COMPLETE` or `Event.REPORT_ACHIEVEMENTS_ERROR` will be triggered.
Gaming:incrementAchievement(achievementId,numSteps,immediate)
'achievementId: (string) Achievement Id '
numSteps: (number) Number of steps to add optional
'immediate: (boolean) Push the update immediately '