'''''''''''''''''''''''''''''''''''''''''''''''''''Vengeance and Enterprise''''''''''''''''''''''''''''''''''''''''
'Grab vengeance and all its lights in a MP box
Dim MiniPlayField_0 ' Xmin Xmax Ymin Ymax Zmin Zmax CenX CenY CenZ
Set MiniPlayField_0 = xBAM.CreateMiniPlayfield(200.598, 332, 179.998, 332.592, 41.2, 120.001, 266, 271, 81)
' DstX DstY DstZ RotX RotY RotZ Scale Time
Call MiniPlayField_0.MoveTo( 266, 256, 81, 0, 0, 0, 1, 0)
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
'Grab Vengeance Explosion Holograms
Dim MiniPlayField_1 ' Xmin Xmax Ymin Ymax Zmin Zmax CenX CenY CenZ
Set MiniPlayField_1 = xBAM.CreateMiniPlayfield( 235.4, 297.199, 333, 363.398, 42, 55.201, 266, 348, 49)
' DstX DstY DstZ RotX RotY RotZ Scale Time
Call MiniPlayField_1.MoveTo( 266, 348, 49, 0, 0, 0, 1, 0)
'''''''''''''''''''''''''''''''''''''''''''''''''''''''
'Grab Enterprise
Dim MiniPlayField_2 ' Xmin Xmax Ymin Ymax Zmin Zmax CenX CenY CenZ
Set MiniPlayField_2 = xBAM.CreateMiniPlayfield(453.003, 465.798, 459.61, 467.198, 54.8, 55.001, 459, 463, 54.9)
Call MiniPlayField_2.MoveTo( 459, 463, 54.9, 0, 0, 0, 1, 0)
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
'Grab Enterprise Explosion Hologram
Dim MiniPlayField_3 ' Xmin Xmax Ymin Ymax Zmin Zmax CenX CenY CenZ
Set MiniPlayField_3 = xBAM.CreateMiniPlayfield( 443, 465, 459.61, 467.2, 40.2, 40.4, 454, 463, 40.3)
' DstX DstY DstZ RotX RotY RotZ Scale Time
Call MiniPlayField_3.MoveTo( 454, 463, 40.3, 0, 0, 0, 1, 0)
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Dim Shake:Shake = 0
Dim Shoot:Shoot = 0
Sub ShakeVengeance_Expired() 'timer to shake /move vengeance
ShakeVengeance.Set false
Shake = Shake + 1
If Shake = 3 then Shake = 1
If Shake = 8 then Shake = 4
If Shake = 18 then Shake = 9
' DstX DstY DstZ RotX RotY RotZ Scale Time
'Shake Vengeance
If Shake = 1 then
Call MiniPlayField_0.MoveTo( 266, 271, 93, 20, 0, 0, 1, 0.2):Call MiniPlayField_1.MoveTo( 266, 348, 49, 0, 0, 0, 1, 0.2):ShakeVengeance.Set true, 200
Call MiniPlayField_2.MoveTo( 459, 463, 54.9, 0, 0, 0, 1, 0):Call MiniPlayField_3.MoveTo( 454, 463, 40.3, 0, 0, 0, 1, 0)
End if
If Shake = 2 then Call MiniPlayField_0.MoveTo( 266, 271, 81, 0, 0, 0, 1, 0.2):Call MiniPlayField_1.MoveTo( 266, 348, 49, 0, 0, 0, 1, 0.2):ShakeVengeance.Set false
'Vengeance Flying Around Table
If Shake = 4 then Call MiniPlayField_0.MoveTo( 1.6, 911.2, 241.8, 7.991, 42.6, -2.991, 1, 4):Call MiniPlayField_1.MoveTo( 71.6, 900, 241, 0, 0, 0, 1, 4):ShakeVengeance.Set true, 4000
If Shake = 5 then Call MiniPlayField_0.MoveTo( 500, 911.2, 261, 24.4, -32.6, -144.19, 1, 4):Call MiniPlayField_1.MoveTo(465.598, 911, 150, 0, 0, 0, 1, 4):ShakeVengeance.Set true, 4000
If Shake = 6 then Call MiniPlayField_0.MoveTo( 550, 500, 218.6, -2.6, -23.6, -191.981, 1, 4):Call MiniPlayField_1.MoveTo(522.198, 500, 118, 0, 0, 0, 1, 4):ShakeVengeance.Set true, 4000
If Shake = 7 then Call MiniPlayField_0.MoveTo( 266, 271, 81, 0, 0, 0, 1, 4):Call MiniPlayField_1.MoveTo( 266, 348, 49, 0, 0, 0, 1, 4):ShakeVengeance.Set true, 4000 'Keep Circling
'Vengeance and Enterprise with Explosions
If Shake = 9 then
Call MiniPlayField_0.MoveTo( 266, 271, 81, 0, 0, 0, 1, 4):Call MiniPlayField_1.MoveTo( 266, 348, 49, 0, 0, 0, 1, 4) 'Vengeance at Home position
Call MiniPlayField_2.MoveTo( 118.8, 300, 240.5, -24.2, 12, -102.199, 1, 4):Call MiniPlayField_3.MoveTo( 95.4, 300, 200, 0, 0, 0, 1, 4):ShakeVengeance.Set true, 4000 'Enterprise Position 1
End if
If Shake = 10 then
Call MiniPlayField_0.MoveTo( 266, 271, 81, 0, 0, 0, 1, 4):Call MiniPlayField_1.MoveTo( 266, 348, 49, 0, 0, 0, 1, 4) 'Vengeance at Home position
Call MiniPlayField_2.MoveTo( 70, 891.801, 100, 8.402, 22.393, 163.2, 1, 4):Call MiniPlayField_3.MoveTo( 70, 891, 102.2, 0, 0, 6, 1, 4):ShakeVengeance.Set true, 4000 ' Enterprise Position 1
End if
If Shake = 11 then
Call MiniPlayField_0.MoveTo( 1.6, 911.2, 241.8, 7.991, 42.6, -2.991, 1, 4):Call MiniPlayField_1.MoveTo( 71.6, 900, 241, 0, 0, 0, 1, 4) 'Vengeance Position 1
Call MiniPlayField_2.MoveTo( 300, 956.8, 108, 7.8, -6.201, 62.201, 1, 4):Call MiniPlayField_3.MoveTo( 300, 956, 108, 0, 0, 6, 1, 4):ShakeVengeance.Set true, 4000 ' Enterprise Position 3
End if
If Shake = 12 then
Call MiniPlayField_0.MoveTo( 500, 911.2, 261, 24.4, -32.6, -144.19, 1, 4):Call MiniPlayField_1.MoveTo(465.598, 911, 150, 0, 0, 0, 1, 4) 'Vengeance Position 2
Call MiniPlayField_2.MoveTo( 459, 463, 54.9, 0, 0, 0, 1, 4):Call MiniPlayField_3.MoveTo( 459, 463, 54, 0, 0, 6, 1, 4):ShakeVengeance.Set true, 4000 ' Enterprise Position 4/Home positioin
End if
If Shake = 13 then
Call MiniPlayField_0.MoveTo( 550, 500, 218.6, -2.6, -23.6, -191.981, 1, 4):Call MiniPlayField_1.MoveTo(522.198, 500, 118, 0, 0, 0, 1, 4) 'Vengeance Position 3
Call MiniPlayField_2.MoveTo( 118.8, 300, 141.5, -24.2, 12, -102.199, 1, 4):Call MiniPlayField_3.MoveTo( 95.4, 300, 200, 0, 0, 0, 1, 4):ShakeVengeance.Set true, 4000 'Enterprise Position 1
End if
If Shake = 14 then
Call MiniPlayField_0.MoveTo( 266, 271, 81, 0, 0, 0, 1, 4):Call MiniPlayField_1.MoveTo( 266, 348, 49, 0, 0, 0, 1, 4) 'Vengeance Position 3
Call MiniPlayField_2.MoveTo( 70, 891.801, 100, 8.402, 22.393, 163.2, 1, 4):Call MiniPlayField_3.MoveTo( 70, 891, 102.2, 0, 0, 6, 1, 4):ShakeVengeance.Set true, 4000 'Enterprise Position 1
End if
If Shake = 15 then
Call MiniPlayField_0.MoveTo( 1.6, 911.2, 241.8, 7.991, 42.6, -2.991, 1, 4):Call MiniPlayField_1.MoveTo( 71.6, 900, 241, 0, 0, 0, 1, 4) 'Vengeance Position 1
Call MiniPlayField_2.MoveTo( 300, 956.8, 108, 7.8, -6.201, 62.201, 1, 4):Call MiniPlayField_3.MoveTo( 300, 956, 108, 0, 0, 6, 1, 4):ShakeVengeance.Set true, 4000 ' Enterprise Position 3
End if
If Shake = 16 then
Call MiniPlayField_0.MoveTo( 500, 911.2, 261, 24.4, -32.6, -144.19, 1, 4):Call MiniPlayField_1.MoveTo(465.598, 911, 150, 0, 0, 0, 1, 4) 'Vengeance Position 2
Call MiniPlayField_2.MoveTo( 459, 463, 54.9, 0, 0, 0, 1, 4):Call MiniPlayField_3.MoveTo( 459, 463, 54, 0, 0, 6, 1, 4):ShakeVengeance.Set true, 4000 ' Enterprise Position 4/Home positioin
End if
If Shake = 17 then
Call MiniPlayField_0.MoveTo( 550, 500, 218.6, -2.6, -23.6, -191.981, 1, 4):Call MiniPlayField_1.MoveTo(522.198, 500, 118, 0, 0, 0, 1, 4)'Vengeance Position 3
Call MiniPlayField_2.MoveTo( 459, 463, 54.9, 0, 0, 0, 1, 4):Call MiniPlayField_3.MoveTo( 459, 463, 54, 0, 0, 6, 1, 4):ShakeVengeance.Set true, 4000 ' Enterprise Position 4/Home positioin
End if
End Sub
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
3. Remember to set the Vengeance Hologram Offsets to a min of 42 mm (on Layer 7 in table editor, uncheck the other layers to see)
4. In table editor, create a timer named "ShakeVengeance"