class ContTrigger extends Trigger;

function Touch(Actor Other)
{
	local _MMRPGPlayer player;
	local TroopSpawn T;
	local ContTroop CT;
	local float rad;

	if (IsRelevant(Other))
	{
		player = _MMRPGPlayer(Other);
		if (player != None)
		{
			if(player.contmission == 3)
			{
				rad = Max(128*4, 1024);
				Player.PlaySound(Sound'DeusExSounds.Generic.LargeExplosion1', SLOT_None, 2.0,, rad);
				player.contmission = 4;
				player.ShakeView(1, 1024, 16);

				ForEach AllActors (class'ContTroop', CT)
				{
					if(Role == ROLE_Authority)
					{
						CT.Destroy();
					}
					CT.Destroy();
				}

				ForEach AllActors (class'TroopSpawn', T)
				{
					T.NailIt();
				}
			}
		}
		Super.Touch(Other);
	}
}
