achievement_increment


语法:

achievement_increment(ach_name, value)

参数 描述
name The name of the achievement.
The value to be sent.


返回:

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".