Achievement Question
Posted: Fri Dec 21, 2018 6:15 pm
How do I reset an accomplished Achievement?
I'm testing some achievements and now not sure how to reset it.
This was the code I enabled the Achievement:
I tried "lock", but that did not seem to work.
Thanks,
I'm testing some achievements and now not sure how to reset it.
This was the code I enabled the Achievement:
Code: Select all
for index, player in pairs(game.players) do --give the achievement to every player
player.unlock_achievement("you-killed-at-least-of-all-NE")
end
Code: Select all
for index, player in pairs(game.players) do --give the achievement to every player
player.lock_achievement("you-killed-at-least-of-all-NE")
end