------------------------------------- -- GUNSHIPS2 SCRIPT------------------ ------------------------------------- local B20_Gunship_Shown = false local B25_GS1_Shown=false local B25_GS1_Fired=false local B25_GS1_Blown=false local B25_GS2_Shown=false local B25_GS2_Fired=false local B25_GS2_Blown=false local B25_GS3_Shown=false local B25_GS3_Fired=false local B25_GS3_Blown=false local B25_GS1_Time = 0 local B25_GS2_Time = 0 local B25_GS3_Time = 0 enemy_disable_transition( B20_Gunship, ENEMY_TRANSITION_VOLUME_DEATH ) enemy_disable_transition( B20_Gunship, ENEMY_TRANSITION_VOLUME_FALL_TO_DEATH ) enemy_disable_transition( B25_Gunship1, ENEMY_TRANSITION_VOLUME_DEATH ) enemy_disable_transition( B25_Gunship1, ENEMY_TRANSITION_VOLUME_FALL_TO_DEATH ) enemy_disable_transition( B25_Gunship2, ENEMY_TRANSITION_VOLUME_DEATH ) enemy_disable_transition( B25_Gunship2, ENEMY_TRANSITION_VOLUME_FALL_TO_DEATH ) enemy_disable_transition( B25_Gunship3, ENEMY_TRANSITION_VOLUME_DEATH ) enemy_disable_transition( B25_Gunship3, ENEMY_TRANSITION_VOLUME_FALL_TO_DEATH ) while true do -- B20: Gunship Hitting Bridge if B20_Gunship_Shown==false and is_in_volume( Ratchet1, B20_Gunship_Trigger ) then B20_Gunship_Shown=true unobviate( B20_Gunship ) gunship_grindrail( B20_Gunship, B20_Gunship_Path, 28 ) wait(0.2) gunship_attack_grenade( B20_Gunship, B20_Gunship_Target ) wait(2.4) activate( B20_Explosion_Section1 ) trigger( B20_Section1_Chunk ) end -- B25: Gunship 1 Blowing Bridge if B25_GS1_Shown==false and is_in_volume( Ratchet1, B25_Trigger1 ) then unobviate( B25_Gunship1 ) gunship_grindrail( B25_Gunship1, B25_Intro_GS1, 18 ) B25_GS1_Shown=true end if B25_GS1_Fired==false and is_in_volume( B25_Gunship1, B25_GS1_Trigger ) then B25_GS1_Fired=true gunship_attack_grenade( B25_Gunship1, B25_GS1_Target ) end if B25_GS1_Fired==true then B25_GS1_Time = B25_GS1_Time + step_time; end if B25_GS1_Blown==false and ( B25_GS1_Time > 2.5 ) then B25_GS1_Blown=true B25_GS1_Fired=false activate( B20_Explosion_Section8 ) trigger( B20_Section8_Chunk ) end -- B25: Gunship 2 Blowing Bridge if B25_GS2_Shown==false and is_in_volume( Ratchet1, B25_Trigger2 ) then unobviate( B25_Gunship2 ) gunship_grindrail( B25_Gunship2, B25_Intro_GS2, 18 ) B25_GS2_Shown=true end if B25_GS2_Fired==false and is_in_volume( B25_Gunship2, B25_GS2_Trigger ) then B25_GS2_Fired=true gunship_attack_grenade( B25_Gunship2, B25_GS2_Target ) end if B25_GS2_Fired==true then B25_GS2_Time = B25_GS2_Time + step_time; end if B25_GS2_Blown==false and ( B25_GS2_Time > 2.5 ) then B25_GS2_Blown=true B25_GS2_Fired=false activate( B20_Explosion_Section9 ) trigger( B20_Section9_Chunk ) end -- B25: Gunship 3 Blowing Bridge if B25_GS3_Shown==false and is_in_volume( Ratchet1, B25_Trigger3 ) then unobviate( B25_Gunship3 ) gunship_grindrail( B25_Gunship3, B25_Intro_GS3, 18 ) B25_GS3_Shown=true end if B25_GS3_Fired==false and is_in_volume( B25_Gunship3, B25_GS3_Trigger ) then B25_GS3_Fired=true gunship_attack_grenade( B25_Gunship3, B25_GS3_Target ) end if B25_GS3_Fired==true then B25_GS3_Time = B25_GS3_Time + step_time; end if B25_GS3_Blown==false and ( B25_GS3_Time > 2.6 ) then B25_GS3_Blown=true B25_GS3_Fired=false activate( B20_Explosion_Section11 ) trigger( B20_Section11_Chunk ) end wait() end