Pinball
Noob
- Joined
- Jul 25, 2010
- Messages
- 6
- Reaction score
- 0
- Points
- 2
- Favorite Pinball Machine
- Visual Pinball
Hello,
my tables is almost finished but I would like make a lives box.
I've maked it but how must I write the script?
I've tried with:
Dim Lives
.
.
.
Sub Drain_Hit()
Drain.DestroyBall
Plunger.CreateBall
PlaySound "Plunger"
AddLives (-1)
End Sub
Sub AddLives(Points)
Lives=Lives+Points
LivesText1.Text=Lives
End Sub
When I start the table the lives box shows 3
but when my ball is going to the "Drain" my lives box shows -1

my tables is almost finished but I would like make a lives box.
I've maked it but how must I write the script?
I've tried with:
Dim Lives
.
.
.
Sub Drain_Hit()
Drain.DestroyBall
Plunger.CreateBall
PlaySound "Plunger"
AddLives (-1)
End Sub
Sub AddLives(Points)
Lives=Lives+Points
LivesText1.Text=Lives
End Sub
When I start the table the lives box shows 3
but when my ball is going to the "Drain" my lives box shows -1

Last edited: