achievement_increment(ach_name, value)
| Argument | Description |
|---|---|
| name | The name of the achievement. |
| value | The value to be sent. |
Returns: N/A
Google Play permit Android games to have achievements with no
completion value and you can use this function to increment those
achievement by a given amount.
achievement_increment("ach_TotalScore", score);
The above code adds the current player score to the achievement "ach_TotalScore".