2 leaderboards, logic integration pains, please help

Hi,

I have set up all achievements and a leaderboard, I am able to update the board and the achievements are working as they should.

So everything is working fine.

However, I am trying to create another leaderboard for level reached.

I am tying it to the submitscore listener but I am having no joy.

I have two seperate IDS for both leadboards.

Could someone be so kind as to help me here it is proving a real pain, am I handling the call from the listener correctly please?

some code:

[lua]

 local function submitScoreListener(event)
          gameNetwork.request(“setHighScore”,
              {
                  localPlayerScore =
                  {
                      category = leaderboardId,
                      value = _G.passScore – The score to submit
                  },
                  localPlayerScore2 =
                  {   category = leaderboardId2,
                      value = _G.counterScore} – the level to submit
              })
      end

[/lua]

Seems everytime I post something I seem to find the answer within a few minutes.

Anyway it helps if you use the correct variable :slight_smile:

in the words of homer simpson …doh!

Seems everytime I post something I seem to find the answer within a few minutes.

Anyway it helps if you use the correct variable :slight_smile:

in the words of homer simpson …doh!