Is it possible to put 5 playing cards (from a possible deck of 26) on the backglass with the B2S designer? I have an original table I'm working on and I have the players hand (5 poker cards) show on the playfield as an image popup at the end of the game, but it would be nice to see the 5 cards on the backglass instead.
Here is my code to pop up the cards at the end of the game. How do I get these 5 images on the backglass?
Sub ShowMeTheCards()
'Here we display the cards at the end of the game
Dim i
i=0
if light2.state=2 Then
i=i+1:EVAL("card"&i).image = "KDIAMONDS"
End If
if light3.state=2 Then
i=i+1:EVAL("card"&i).image = "ACLUBS"
End If
if light4.state=2 Then
i=i+1:EVAL("card"&i).image = "9HEARTS"
End If
if light5.state=2 Then
i=i+1:EVAL("card"&i).image = "QSPADES"
End If
if light6.state=2 Then
i=i+1:EVAL("card"&i).image = "JHEARTS"
End If
if light7.state=2 Then
i=i+1:EVAL("card"&i).image = "10SPADES"
End If
if light8.state=2 Then
i=i+1:EVAL("card"&i).image = "JCLUBS"
End If
if light9.state=2 Then
i=i+1::EVAL("card"&i).image ="ADIAMONDS"
End If
if light10.state=2 Then
i=i+1::EVAL("card"&i).image ="10HEARTS"
End If
if light11.state=2 Then
i=i+1::EVAL("card"&i).image ="9SPADES"
End If
if light12.state=2 Then
i=i+1::EVAL("card"&i).image ="10DIAMONDS"
End If
if light13.state=2 Then
i=i+1::EVAL("card"&i).image ="AHEARTS"
End If
if light14.state=2 Then
i=i+1::EVAL("card"&i).image ="KSPADES"
End If
if light15.state=2 Then
i=i+1::EVAL("card"&i).image ="JOKER"
End If
if light16.state=2 Then
i=i+1::EVAL("card"&i).image ="QDIAMONDS"
End If
if light17.state=2 Then
i=i+1::EVAL("card"&i).image ="KCLUBS"
End If
if light18.state=2 Then
i=i+1::EVAL("card"&i).image ="JDIAMONDS"
End If
if light19.state=2 Then
i=i+1::EVAL("card"&i).image ="QCLUBS"
End If
if light20.state=2 Then
i=i+1::EVAL("card"&i).image ="JSPADES"
End If
if light21.state=2 Then
i=i+1::EVAL("card"&i).image ="9DIAMONDS"
End If
if light22.state=2 Then
i=i+1::EVAL("card"&i).image ="QHEARTS"
End If
if light23.state=2 Then
i=i+1::EVAL("card"&i).image ="9CLUBS"
End If
if light24.state=2 Then
i=i+1::EVAL("card"&i).image ="ASPADES"
End If
if light25.state=2 Then
i=i+1::EVAL("card"&i).image ="10CLUBS"
End If
if light26.state=2 Then
i=i+1::EVAL("card"&i).image ="KHEARTS"
End If
End Sub