WaveSchedule
{
	PointTemplates
	{
		ForceLeftPath
		{
			OnSpawnOutput
			{
				Target "bombpath_clearall_relay"
				Action "Trigger"
				Delay 1
			}
			OnSpawnOutput
			{
				Target "bombpath_arrows_clear_relay"
				Action "Trigger"
				Delay 1
			}
			OnSpawnOutput
			{
				Target "bombpath_a"
				Action "Trigger"
				Delay 1.1
			}
		}
		ForceRightPath
		{
			OnSpawnOutput
			{
				Target "bombpath_clearall_relay"
				Action "Trigger"
				Delay 1
			}
			OnSpawnOutput
			{
				Target "bombpath_arrows_clear_relay"
				Action "Trigger"
				Delay 1
			}
			OnSpawnOutput
			{
				Target "bombpath_b"
				Action "Trigger"
				Delay 1.1
			}
		}
		Ambulance_Tank
		{
			OnSpawnOutput 
			{
				Target "!activator"
				Action "AddOutput"
				Param "OnHealthBelow40Percent junior:SetAnimation:panic:0:-1"
			}

			OnSpawnOutput 
			{
				Target "ambulance_support"
				Action "Enable"
			}

			// OnParentKilledOutput
			// {
			// 	Target "ambulance_support"
			// 	Action "Disable"
			// }

			prop_dynamic
			{
				"targetname" "ambulance"
				"spawnflags" "0"
				"solid" "0"
				"rendercolor" "255 255 255"
				"renderamt" "255"
				"RandomAnimation" "0"
				"pressuredelay" "0"
				"physdamagescale" "1.0"
				"PerformanceMode" "0"
				"model" "models/workshop/player/items/medic/taunt_the_mannbulance/taunt_the_mannbulance.mdl"
				"body" "0"

				"origin" "20 0 0"
				"angles" "0 0 0"

				"modelscale" "3"
				"skin" "1"
			}

			prop_dynamic
			{
				"targetname" "junior"
				"spawnflags" "0"
				"solid" "0"
				"rendercolor" "255 255 255"
				"renderamt" "255"
				"RandomAnimation" "0"
				"pressuredelay" "0"
				"physdamagescale" "1.0"
				"PerformanceMode" "0"
				"model" "models/bots/bot_worker/bot_worker.mdl"
				"body" "0"

				"origin" "35 0 45"
				"angles" "0 0 0"

				"DefaultAnim" "idle"
				"skin" "1"
			}

			dispenser_touch_trigger
			{
				"targetname" "cart_dispenser_trigger"
				"mins" "-600 -600 -600"
				"maxs" "600 600 600"
				"spawnflags" "1"
			}
			
			mapobj_cart_dispenser
			{
				"targetname" "cart_dispenser"
				"origin" "-80 -20 100"
				"spawnflags" "10"
				"TeamNum" "3"
				"touch_trigger" "cart_dispenser_trigger"
			}
		}

		// bosses

		ColDroneman
		{
			OnSpawnOutput
			{
				Target "popscript"
				Action "$ColDronemanSpawn"
				Param "regular"
			}
			OnParentKilledOutput
			{
				Target "popscript"
				Action "$ColDronemanDeath"
				Param "regular"
			}
		}

		ColDronemanPrime
		{
			OnSpawnOutput
			{
				Target "popscript"
				Action "$ColDronemanSpawn"
				Param "prime"
			}
			OnParentKilledOutput
			{
				Target "popscript"
				Action "$ColDronemanDeath"
				Param "prime"
			}
		}

		Helicopter
		{
			OnSpawnOutput
			{
				Target "popscript"
				Action "$HelicopterBot"
			}
		}
	
		SergeantSizer
		{
			OnSpawnOutput
			{
				Target "popscript"
				Action "$SergeantSizer"
			}
		}

		MajorMannpower
		{
			OnSpawnOutput
			{
				Target "popscript"
				Action "$MajorMannpower"
				Param "default"
			}
		}

		ColDroneman
		{
			OnSpawnOutput
			{
				Target "popscript"
				Action "$ColDronemanSpawn"
			}
			OnParentKilledOutput
			{
				Target "popscript"
				Action "$ColDronemanDeath"
			}
		}

		Rocketman
		{
			OnSpawnOutput
			{
				Target "popscript"
				Action "$RocketmanSpawn"
			}
			OnParentKilledOutput
			{
				Target "popscript"
				Action "$RocketmanDeath"
			}
		}

		// title cards

		Yakuza_Title_Card_Droneman
		{
			OnSpawnOutput
			{
				Target "upper_text"
				Action "Display"
				Delay 0
			}

			OnSpawnOutput
			{
				Target "middle_text"
				Action "Display"
				Delay 0.2
			}

			game_text
			{
				"origin" "1984 1984 99999"
				"targetname" "upper_text"
				"message" "AERIAL DEVICE SPECIALIST"
				"x" "-1"
				"y" "0.4"
				"spawnflags" "1"
				"effect" "2"
				"channel" "2"
				"color" "255 255 255"
				"fxtime" "0.2"
				"fadeout" "1"
				//"fadein" "0"
				"holdtime" "5"
			}

			game_text
			{
				"origin" "1984 1984 99999"
				"targetname" "middle_text"
				"message" "COLONEL DRONEMANN"
				"x" "-1"
				"y" "0.45"
				"channel" "1"
				"spawnflags" "1"
				"color" "255 255 255"
				"fadein" "0.2"
				"fadeout" "1"
				"holdtime" "4.8"
			}
		}
		Yakuza_Title_Card_Tower
		{
			OnSpawnOutput
			{
				Target "upper_text"
				Action "Display"
				Delay 0
			}

			OnSpawnOutput
			{
				Target "middle_text"
				Action "Display"
				Delay 0.2
			}

			game_text
			{
				"origin" "1984 1984 99999"
				"targetname" "upper_text"
				"message" "THE COLLECTIVE"
				"x" "-1"
				"y" "0.4"
				"spawnflags" "1"
				"effect" "2"
				"channel" "2"
				"color" "255 255 255"
				"fxtime" "0.2"
				"fadeout" "1"
				//"fadein" "0"
				"holdtime" "5"
			}

			game_text
			{
				"origin" "1984 1984 99999"
				"targetname" "middle_text"
				"message" "TOWER OF METAL"
				"x" "-1"
				"y" "0.45"
				"channel" "1"
				"spawnflags" "1"
				"color" "255 255 255"
				"fadein" "0.2"
				"fadeout" "1"
				"holdtime" "4.8"
			}
		}
		Yakuza_Title_Card_Helicopter
		{
			OnSpawnOutput
			{
				Target "upper_text"
				Action "Display"
				Delay 0
			}

			OnSpawnOutput
			{
				Target "middle_text"
				Action "Display"
				Delay 0.2
			}

			game_text
			{
				"origin" "1984 1984 99999"
				"targetname" "upper_text"
				"message" "AIRBORNE ASSAULT ARSENAL"
				"x" "-1"
				"y" "0.4"
				"spawnflags" "1"
				"effect" "2"
				"channel" "2"
				"color" "255 255 255"
				"fxtime" "0.2"
				"fadeout" "1"
				//"fadein" "0"
				"holdtime" "5"
			}

			game_text
			{
				"origin" "1984 1984 99999"
				"targetname" "middle_text"
				"message" "ATTACK HELICOPTER"
				"x" "-1"
				"y" "0.45"
				"channel" "1"
				"spawnflags" "1"
				"color" "255 255 255"
				"fadein" "0.2"
				"fadeout" "1"
				"holdtime" "4.8"
			}
		}
		Yakuza_Title_Card_Sizer
		{
			OnSpawnOutput
			{
				Target "upper_text"
				Action "Display"
				Delay 0
			}

			OnSpawnOutput
			{
				Target "middle_text"
				Action "Display"
				Delay 0.2
			}

			game_text
			{
				"origin" "1984 1984 99999"
				"targetname" "upper_text"
				"message" "TINY GIANT"
				"x" "-1"
				"y" "0.4"
				"spawnflags" "1"
				"effect" "2"
				"channel" "2"
				"color" "255 255 255"
				"fxtime" "0.2"
				"fadeout" "1"
				//"fadein" "0"
				"holdtime" "5"
			}

			game_text
			{
				"origin" "1984 1984 99999"
				"targetname" "middle_text"
				"message" "SERGEANT SIZER"
				"x" "-1"
				"y" "0.45"
				"channel" "1"
				"spawnflags" "1"
				"color" "255 255 255"
				"fadein" "0.2"
				"fadeout" "1"
				"holdtime" "4.8"
			}
		}
		Yakuza_Title_Card_Mannpower
		{
			OnSpawnOutput
			{
				Target "upper_text"
				Action "Display"
				Delay 0
			}

			OnSpawnOutput
			{
				Target "middle_text"
				Action "Display"
				Delay 0.2
			}

			game_text
			{
				"origin" "1984 1984 99999"
				"targetname" "upper_text"
				"message" "ONE MANN ARMY"
				"x" "-1"
				"y" "0.4"
				"spawnflags" "1"
				"effect" "2"
				"channel" "2"
				"color" "255 255 255"
				"fxtime" "0.2"
				"fadeout" "1"
				//"fadein" "0"
				"holdtime" "5"
			}

			game_text
			{
				"origin" "1984 1984 99999"
				"targetname" "middle_text"
				"message" "MAJOR MANNPOWER"
				"x" "-1"
				"y" "0.45"
				"channel" "1"
				"spawnflags" "1"
				"color" "255 255 255"
				"fadein" "0.2"
				"fadeout" "1"
				"holdtime" "4.8"
			}
		}
		Yakuza_Title_Card_TimeConstraint_Dronemann
		{
			OnSpawnOutput
			{
				Target "upper_text"
				Action "Display"
				Delay 0
			}

			OnSpawnOutput
			{
				Target "middle_text"
				Action "Display"
				Delay 0.2
			}

			game_text
			{
				"origin" "1984 1984 99999"
				"targetname" "upper_text"
				"message" "ONCE MORE, THE BEHOLDER OF TIME"
				"x" "-1"
				"y" "0.4"
				"spawnflags" "1"
				"effect" "2"
				"channel" "2"
				"color" "255 255 255"
				"fxtime" "0.2"
				"fadeout" "1"
				//"fadein" "0"
				"holdtime" "5"
			}

			game_text
			{
				"origin" "1984 1984 99999"
				"targetname" "middle_text"
				"message" "TIME-CONSTRAINT PRIME"
				"x" "-1"
				"y" "0.45"
				"channel" "1"
				"spawnflags" "1"
				"color" "255 255 255"
				"fadein" "0.2"
				"fadeout" "1"
				"holdtime" "4.8"
			}
		}
		Yakuza_Title_Card_Rocketman
		{
			OnSpawnOutput
			{
				Target "upper_text"
				Action "Display"
				Delay 0
			}

			OnSpawnOutput
			{
				Target "middle_text"
				Action "Display"
				Delay 0.2
			}

			game_text
			{
				"origin" "1984 1984 99999"
				"targetname" "upper_text"
				"message" "MASTER OF ALL THINGS EXPLOSIVE"
				"x" "-1"
				"y" "0.4"
				"spawnflags" "1"
				"effect" "2"
				"channel" "2"
				"color" "255 255 255"
				"fxtime" "0.2"
				"fadeout" "1"
				//"fadein" "0"
				"holdtime" "5"
			}

			game_text
			{
				"origin" "1984 1984 99999"
				"targetname" "middle_text"
				"message" "SERGEANT ROCKETMANN"
				"x" "-1"
				"y" "0.45"
				"channel" "1"
				"spawnflags" "1"
				"color" "255 255 255"
				"fadein" "0.2"
				"fadeout" "1"
				"holdtime" "4.8"
			}
		}

    }
}