Jump to content




Photo
- - - - -

Score Match - Need Help

match score

  • Please log in to reply
1 reply to this topic

#1 mitterdoo

mitterdoo

    Neophyte

  • Members
  • Pip
  • 1 posts

  • Flag: United States of America

  • Favorite Pinball: Super Mario Bros.

Posted 25 February 2013 - 02:40 AM

Hey. I just started working on a new pinball table, and I see most real-life ones with that Match thing at the end. For one thing, I don't know how to do so. I tried using "Mid(CString(nvScore(CurrentPlayer)),-2,2)" to get the last 2 digits of the player's score, but that resulted in a Pinball Meditation (I see what they did there). Can someone please help, someone already posted about Matches but I don't think they were talking about these matches. Thanks.



#2 JonBaker

JonBaker

    Enthusiast

  • Members
  • PipPipPip
  • 326 posts
  • Location:Where time has no meaning

  • Flag: Scotland

  • Favorite Pinball: Hong Kong Phooey - Doesn't exist but it should

Posted 25 February 2013 - 04:24 AM

Try this:

 

If (int(right(nvScore(CurrentPlayer),1)) = MatchP) Then

 

Last digit of the player's score matches 0-9 (MatchP)







Also tagged with one or more of these keywords: match, score

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users