Here's another release candidate: Tag-Team Pinball
Thank you for testing and please let me know if you have any idea how to test if multiball is running to enable the multiball general illumination.
http://www.mediafire..._Team_1.0rc.rar
That's easy in VP10
since there is a built in function called GetBalls which return an array with the balls on the table. I use a simple routine in my Vp10 tables to simply check the number of balls on the table to turn on and off the gi. This is the reduced version of the sub I use in Papa Smurf:
Dim OldGiState
OldGiState = -1 'start witht the Gi off
Sub GIUpdateTimer_Timer
Dim tmp
tmp = Getballs
If UBound(tmp) <> OldGiState Then
OldGiState = Ubound(tmp)
If UBound(tmp) = -1 Then '-1 is the value returned by Getballs when no balls are on the table, so turn off the gi
GiOff
Else
Gion
End If
End If
End Sub
Sub Gion
...
End Sub
Sub GiOff
...
End Sub
What I do is simply to check if the array is empty with the UBound function. If it is empty then I turn off the gi, and if there is a ball then I turn on the gi.
Now, if there is one ball on the table, the UBound(tmt) will be 0 (the first item in an array is always the number 0), if there is two balls on the table the UBound(tmtp) will be 1, and son on. So, if this UBound(tmp) is higher than 0 it means there is a multiball going in the table, so you may check if the UBound(tmp) > 0 then do something different 
Note: I use the same function to make the rolling sounds in VP10. Just check any of my VP10 tables.
Greetings
JP
Edited by jpsalas, 24 April 2015 - 03:01 AM.