you need to give an example.... but the AIO Example table tells you exactly what pinmechsound commands are using:
Code:
' PinMechSound is used to output mechanical sounds to either FP, or to PUP for SSF, and trigger DOF for feedback (cabinets)
' Usage: PinMechSound sound, fp_item, volume, dID, dValue, dType
' sound = mechanical / feedback sound
' fp_item = FP table item name
' volume = between 0 to 1.0 (FP)
' dID = DOF Exxx trigger or PuP Exxx trigger from PuP-Pack
' dValue = DOF trigger action. 0 = off, 1 = on, 2 = pulse
' dType = type of feedback / sound
' dType options are:
' "flipper"
' "slingshot"
' "bumper"
' "solenoid"
' "droptarget"
' "droptargetreset"
' "target"
' "knocker"
' "chime"
' "bell"
' "shaker"
' "gear"
' "fan"
' "dof"
' "ssf"
' "sound"
' "ball"
' ""
In the case of this command.... it refers to the name of the sound being used. There are 5 mech_Bumpers_Top_xx sounds.
PinMechSound ("mech_Bumpers_Top_"&Int(Rnd*5)+1), Bumper3, 1, 820, 2, "bumper"