Jump to content
  • 0

Sounds for different targets


Question

Posted

So I wanted to add a few new sounds for each targets on my chamber of chills tables.  However; when I click a target it selects all six targets and I can seem to select each target individually to add a sound.  I'm assuming this is how the table was originally built by the author, and to go about doing what I want I would have to deleted the six targets and then add six individual  targets and add to the script.   Any help would be appreciated.  

1 answer to this question

Recommended Posts

  • 0
Posted

I am guessing you are working on drop targets.  Future Pinball has the ability to add a multi-bank of targets as a single table object.  Hopefully, your table is coded like Medieval Castle.  The code below is from a 3 bank target on this table.  The 3 bank only has one subroutine but has separate "Select Case" options.  Each case represents each target.  As you can see, there is a "PlaySound" code for each target.  This example plays the same sound for all three targets but you could change it so it plays different sounds.

 

Sub TargetD1_hit() ' 3 bank and extra ball
	Select Case (fpEventID)
	Case 1: LightD1.FlashForMs 500, 50, BulbOn
		BulbT5.FlashForMs 1000, 100, BulbOn
		PlaySound "GAL-Tiro A1": PinMechSound_TargetD1_Hit
		AddScore(800)
	Case 2: LightD2.FlashForMs 500, 50, BulbOn
		BulbT5.FlashForMs 1000, 100, BulbOn
		PlaySound "GAL-Tiro A1": PinMechSound_TargetD1_Hit
		AddScore(800)
	Case 3: LightD3.FlashForMs 500, 50, BulbOn
		BulbT5.FlashForMs 1000, 100, BulbOn
		PlaySound "GAL-Tiro A1": PinMechSound_TargetD1_Hit
		AddScore(800)
	End select

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...