I'm trying to get a VPX gate controlled in the script. This is for Bally's Frontier. The gate is closed by default and opens when the solenoid is triggered during gameplay. It closes again at the end of the ball (assuming that is how the dips are set). I looked to the VP9 version for inspiration on how to get this to work but with the following script the gate is always open in VPX:
' Solenoids
...
Const sGate = 17 '11
...
'----------------------------------------------------
' Bind events to solenoids
' Last argument will always be "enabled" (True, False)
'----------------------------------------------------
...
SolCallback(sGate) = "SolGate"
...
Sub SolGate(enabled)
Gate2.Open = true
End Sub
Does anyone know how to get this working properly? This seems to line up with the gate documentation but doesn't work.
Thanks!




Top












are all trademarks of VPFORUMS.