I do not have pinup, i am guessing you want to do this like a PUPpack kind of thing?
You need to then add PUP to the table
' COPY EVERYTHING BELOW TO THE TOP OF YOUR TABLE SCRIPT UNDER OPTION EXPLICIT
'****** PuP Variables ******
Dim usePUP: Dim cPuPPack: Dim PuPlayer: Dim PUPStatus: PUPStatus=false ' dont edit this line!!!
'*************************** PuP Settings for this table ********************************
usePUP = true ' enable Pinup Player functions for this table
cPuPPack = "pup-pack_name" ' name of the PuP-Pack / PuPVideos folder for this table
'//////////////////// PINUP PLAYER: STARTUP & CONTROL SECTION //////////////////////////
' This is used for the startup and control of Pinup Player
Sub PuPStart(cPuPPack)
If PUPStatus=true then Exit Sub
If usePUP=true then
Set PuPlayer = CreateObject("PinUpPlayer.PinDisplay")
If PuPlayer is Nothing Then
usePUP=false
PUPStatus=false
Else
PuPlayer.B2SInit "",cPuPPack 'start the Pup-Pack
PUPStatus=true
End If
End If
End Sub
Sub pupevent(EventNum)
if (usePUP=false or PUPStatus=false) then Exit Sub
PuPlayer.B2SData "E"&EventNum,1 'send event to Pup-Pack
End Sub
' ******* How to use PUPEvent to trigger / control a PuP-Pack *******
' Usage: pupevent(EventNum)
' EventNum = PuP Exxx trigger from the PuP-Pack
' Example: pupevent 102
' This will trigger E102 from the table's PuP-Pack
' DO NOT use any Exxx triggers already used for DOF (if used) to avoid any possible confusion
'************ PuP-Pack Startup **************
PuPStart(cPuPPack) 'Check for PuP - If found, then start Pinup Player / PuP-Pack
Then then to your plunger, add like
If key=plungerkey then
plunger.pull
pupevent 300
end if
switches if i understand correctly are for triggering PUP events from ROM switches
and there generally is no switch in a pinball table attached to the plunger
So you create PUP events and give them numbers
Numbers that are far away from DOF events, hence me suggesting 300, no DOF event at 300