Shouldn't this work with Apple GameCenter?

Assuming the game network on the Apple side is set up correctly (Leaderboards work) shouldn’t this code work to retrieve all the Achievement IDs?

if scorevalue >=5 and scorevalue < 11 then
            gameNetwork.request( “unlockAchievement”, {
                achievement = { identifier = “vortex05”, percentComplete = 100, showsCompletionBanner = true },
                listener = requestCallback
            })
end

I assume the identifer is correct, right? See the screenshot.

Nothing happens - the achievement is not unlocked nor is a completion banner shown. No error either.

Hi @lessmsios,

I’m confused… you say that you want to “retrieve all the Achievement IDs”, but then your code shows unlocking of a specific achievement. What are you attempting to do?

Best regards,

Brent

Sorry - programmer error!

Hi @lessmsios,

I’m confused… you say that you want to “retrieve all the Achievement IDs”, but then your code shows unlocking of a specific achievement. What are you attempting to do?

Best regards,

Brent

Sorry - programmer error!