The PokéCommunity Forums Fan Games Game Development Pokémon Essentials
Triple Triad win or lose.

Pokémon Essentials All questions and discussion about Pokémon Essentials, the Pokémon game kit for RPG Maker XP, go in here. Also contains links to the latest downloads and the Essentials Wiki.

Thread Tools
Old September 3rd, 2013 (11:14 PM).
wilfre wilfre is offline
    Join Date: Jan 2010
    Gender: Male
    Posts: 3
    Before asking the question, I need to say something. I was about to make a new account when I found out I already made one in 2010. Not sure why, but there was only 1 post and it was a horrible post so I had to delete it.

    Back on topic.
    I'm trying to make a ranking system for triple triad for my Pokemon game (Though my dislike for RPG maker XP [The lag], I just prefer VX and VX Ace). But to make this ranking system I need a way to tell if the player has won or lose in a battle. I tried searching but all I found was 'forum games' and the wiki didn't have any info on a win or lose scenario, if it is there, please tell me because i'm blind and find it a bit hard to point out the obvious.
    Reply With Quote

    Relevant Advertising!

    Old September 8th, 2013 (5:05 AM).
    FL's Avatar
    FL FL is offline
    Pokémon Island Creator
      Join Date: Sep 2010
      Gender: Male
      Posts: 1,686
      I can't believe that this script don't have this feature!

      In PokemonMinigameTripleTriad change (untested)


      return ret
      Now pbTriadDuel returns a number where:

      0 - No game (when you have no cards or other condition)
      1 - Player win
      2 - Player lose
      3 - Draw
      Reply With Quote
      Old September 8th, 2013 (8:41 AM). Edited September 8th, 2013 by wilfre.
      wilfre wilfre is offline
        Join Date: Jan 2010
        Gender: Male
        Posts: 3
        Thank you very much. I was starting to think nobody will be able to answer this.
        I will test this out now.

        EDIT: It doesn't seem to work for me. But that is probably due to me not knowing what i'm even doing.
        Reply With Quote
        Old September 8th, 2013 (3:20 PM).
        Nickalooose Nickalooose is offline
          Join Date: Mar 2008
          Gender: Female
          Posts: 1,309
          For people who don't know what to do, I tend to advise using Variables... Why don't you just use those instead?
          But another question is, where will you be using this ranking system?
          Will it be some sort of screen during the Triad game, or will it be used on the overworld?
          Will there be a league table, that is visible, or will someone just say, "Hey, you're ranked 57th out of 140, congratulations!"?
          All of these would require additional scripting anyway, except some guy telling you (which is obviously the easiest solution)... I haven't attempted FL's way, so you'll have to await his reply for an answer to that.
          Reply With Quote
          Old September 8th, 2013 (5:25 PM).
          wilfre wilfre is offline
            Join Date: Jan 2010
            Gender: Male
            Posts: 3
            Using Variables for a ranking system is what I planned. But because there is no script for win or lose, then your rank will go up even if you win or lose. That's what I want to avoid.
            I need the win/lose script to make the ranking system and to create tournaments, which both will need a win/lose script. I have extremely little knowledge of Ruby script, so understanding what to do can be difficult.
            Reply With Quote
            Old September 9th, 2013 (3:38 AM).
            Maruno's Avatar
            Maruno Maruno is offline
            Lead Dev of Pokémon Essentials
              Join Date: Jan 2008
              Location: England
              Posts: 5,173
              What FL gave means you can use result=pbTriadDuel("Bob",1,10) or even pbSet(42,pbTriadDuel("Bob",1,10)) in an event to get the result of the duel. You can then use the result somehow in your rankings stuff.
              Go to the Pokémon Essentials Wiki

              | Downloads | Tutorials | Fangames |
              | All Animations Project |

              Follow me on Twitter: @maruno42

              Reply With Quote
              Quick Reply

              Sponsored Links
              Thread Tools

              Posting Rules
              You may not post new threads
              You may not post replies
              You may not post attachments
              You may not edit your posts

              BB code is On
              Smilies are On
              [IMG] code is On
              HTML code is Off

              Forum Jump

              All times are GMT -8. The time now is 6:59 PM.