Query achievement unlocked
Posted: Fri Dec 02, 2022 1:02 am
I want to query if a player has unlocked an achievement, but i can find very little information the api.
So maybe someone else knows more?
As far as i can see
There is a table of in game.achievement_prototypes.
There is a LuaAchievementPrototype where there isn't a field/method to indicate it has been unlocked.
There is a method unlock_achievement to unlock an achievement.
But i can't find a way to see if an achievement has actually been unlocked.
So maybe someone else knows more?
As far as i can see
There is a table of in game.achievement_prototypes.
There is a LuaAchievementPrototype where there isn't a field/method to indicate it has been unlocked.
There is a method unlock_achievement to unlock an achievement.
But i can't find a way to see if an achievement has actually been unlocked.