Mbison Posted May 16, 2015 Share Posted May 16, 2015 Im using VP 9.90a. I ran it fine on my laptop but when I transferred it to my cabinet I got the following script error: Line 830: Variable is undefined: AnPlOldPos seems to be something to do with the Plungers. Any idea whats causing it? especially to happen on the cabinet and not the laptop? Link to comment Share on other sites More sharing options...
Turkee32 Posted May 16, 2015 Share Posted May 16, 2015 I feel the same... Help! Link to comment Share on other sites More sharing options...
Turkee32 Posted May 16, 2015 Share Posted May 16, 2015 Resolved ... 1 - Delete the scrip these lines .2 - Save the table and run. 'PinWizard Plunger script 'Turn on the Plunger timer if analog plunger is detected If Plunger.MotionDevice> 0 Then PBWPlunger.Enabled = 1 End If Sub PBWPlunger_Timer() If Plunger.MotionDevice> 0 Then 'If Plunger.Position>24 then exit sub Plungers(AnPlOldPos).alpha = 0:Plungers(AnPlOldPos).alpha = 0 AnPlNewPos = Plunger.Position \ 2 Plungers(AnPlNewPos).alpha = 1:Plungers(AnPlNewPos).alpha = 1 PRefresh.State = ABS(PRefresh.state -1) AnPlOldPos = AnPlNewPos End If End Sub Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.