class AptWMoverOut extends DeusExMover;

replication
{
    reliable if (Role < ROLE_Authority)
	LagItUp;
}

Function LagItUp()
{
	local ContControl T;

	ForEach AllActors (class'ContControl', T)
	{
		T.Lagga();
	}
}

Function Frob(actor frobber, inventory frobwith)
{
	local AptWeapzOut RS;
	local _MMRPGPlayer player;
	local ContControl T;
	local Lamm0r z0r;
	local float rad;
	local bool bYe;
	local bool bGot;

	if(_MMRPGPlayer(Frobber) == None)
		return;

	bYe = False;
	bGot = False;

		ForEach AllActors (class'Lamm0r', z0r)
		{
			if(z0r.Owner == _MMRPGPlayer(Frobber))
			{
				bGot = True;
				if(!bYe)
				{
				foreach AllActors(Class'AptWeapzOut', RS)
				{
					bYe = True;
					rad = Max(128*4, 1024);
					_MMRPGPlayer(Frobber).PlaySound(Sound'DeusExSounds.Generic.LargeExplosion1', SLOT_None, 2.0,, rad);
					_MMRPGPlayer(Frobber).contmission = 3;
					_MMRPGPlayer(Frobber).ShakeView(1, 1024, 16);

					LagItUp();

					RS.GoLagshotGo(_MMRPGPlayer(Frobber));
				}
				}

				if(Role == ROLE_Authority)
				{
					z0r.Destroy();
				}
				z0r.Destroy();
			}
		}

	bYe = False;

	if(!bGot)
	{
		_MMRPGPlayer(Frobber).ClientMessage("Plant the bomb before you leave!");
	}
}

defaultproperties
{
      bBreakable=False
}

