Unlocking Characters problem

fZoleefZolee Member, PRO Posts: 34

Hi guys,

I'm kind of stuck with my game. I can choose character but I have some issues with unlocking them. If I unlock one character, all other became unlocked too. I'm not sure I'm on the right path or trying it wrong.

My setup so far is: one blank HERO actor, which changes image depending on the players choice of character, one "which character" integer attribute, a Table with actors in the rows and 3 column. (1st actor number, 2nd cost, 3rd boolean "locked/unlocked" attribute) When the player clicks on a locked actor a menu pops up where you can choose to "Unlock" it.
In the Unlock button I have used Change Table Value attribute and in the Row section what would make sense to me to add the game.which character attribute which points to a certain number (and character), but it doesn't work.

I could make multiple unlock buttons for each character (only got 6) but I really want to make it more "neat", use a method what I could use in the future too.

Many Thanks
Z

Answers

  • LumpAppsLumpApps Member Posts: 2,881

    Your logic looks good. Do I understand correctly that you have a "Which Character" that says which one is active and when someone unlocks it that value used to identify which one needs to be unlocked in the corresponding table position?

  • fZoleefZolee Member, PRO Posts: 34

    Sorry for the late reply.
    Yes, that's correct, I'm not sure why it doesn't work.
    (Since then I have made individual Unlock buttons which works but it seems to me a less smart way to do it. :# )

Sign In or Register to comment.