//Generated by BehavEd

rem ( "Rebuild Lamp 2" );

if ( $get( FLOAT, "SET_PARM2")$, $=$, $1$ )
{

	affect ( "lamp2_trigger", /*@AFFECT_TYPE*/ FLUSH )
	{
		set ( /*@SET_TYPES*/ "SET_INACTIVE", /*@BOOL_TYPES*/ "true" );
	}

	sound ( /*@CHANNELS*/ CHAN_LOCAL, "sound/effects/servo_hand.mp3" );

	affect ( "lamp2", /*@AFFECT_TYPE*/ FLUSH )
	{
		rotate ( < 0.000 0.000 0.000 >, 1250.000 );
		wait ( 1250.000 );
	}

	wait ( 2000.000 );
	use ( "lamp2" );
	use ( "lamp2_breakable" );
}


else (  )
{
	use ( "toolbox_message" );
	wait ( 1000.000 );
}

