fastdraw
Inserted Coin
- Joined
- Dec 16, 2015
- Messages
- 230
- Reaction score
- 164
- Points
- 56
- Favorite Pinball Machine
- afm mm cv
what is the conversion of this code to VP : DT= drop target : DTL= lumiere
resolved
had to replace drop target by a wall
Sub DT1_Hit()
AddScore 1000: DTL1.State = 1: DT1.SolenoidOn: CheckDT
End Sub
Sub DT2_Hit()
AddScore 1000: DTL2.State = 1: DT2.SolenoidOn: CheckDT
End Sub
Sub DT3_Hit()
AddScore 1000: DTL3.State = 1: DT3.SolenoidOn: CheckDT
End Sub
Sub CheckDT()
Dim x
If DTL1.State *DTL2.State *DTL3.State = 0 Then Exit Sub
For x = 1 To 3: Eval("DT" &x).SolenoidOff: Eval("DTL" &x).State = 0: Eval("DT" &x).PopDown: Next
End Sub
Sub PulseDT()
dt1.solenoidPulse:dt2.solenoidPulse:dt3.solenoidPulse
End Sub
resolved
had to replace drop target by a wall
Sub DT1_Hit()
AddScore 1000: DTL1.State = 1: DT1.SolenoidOn: CheckDT
End Sub
Sub DT2_Hit()
AddScore 1000: DTL2.State = 1: DT2.SolenoidOn: CheckDT
End Sub
Sub DT3_Hit()
AddScore 1000: DTL3.State = 1: DT3.SolenoidOn: CheckDT
End Sub
Sub CheckDT()
Dim x
If DTL1.State *DTL2.State *DTL3.State = 0 Then Exit Sub
For x = 1 To 3: Eval("DT" &x).SolenoidOff: Eval("DTL" &x).State = 0: Eval("DT" &x).PopDown: Next
End Sub
Sub PulseDT()
dt1.solenoidPulse:dt2.solenoidPulse:dt3.solenoidPulse
End Sub
Last edited: