class CCTVCamera2 extends CCTVCamera;




auto state Active
{
	function TakeDamage(int Damage, Pawn EventInstigator, vector HitLocation, vector Momentum, name DamageType)
	{
		local float mindmg;

		// duration is based on daamge
		// 10 seconds min to 30 seconds max
		mindmg = Max(Damage - 15.0, 0.0);
		confusionDuration += mindmg / 5.0;
		confusionTimer = 0;
		if (!bConfused)
		{
			bConfused = True;
			LightHue = 40;
			MultiSkins[1] = Texture'YellowLightTex';
			SoundPitch = 128;
			PlaySound(sound'EMPZap', SLOT_None,,, 1280);
		}
		return;
	}
}

