//Generated by BehavEd


if ( $get( FLOAT, "mainlift_position")$, $=$, $2$ )
{

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


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

	rem ( "Move Main Lift Up" );
	use ( "mainlift_useable" );
	use ( "mainlift_hurt" );
	use ( "mainlift_clip" );
	wait ( 3000.000 );

	affect ( "mainlift", /*@AFFECT_TYPE*/ FLUSH )
	{
		move ( $tag( "majorlift_top", ORIGIN)$, < 0.000 0.000 0.000 >, 6000.000 );
		wait ( 2000.000 );
		use ( "mainlift_clip" );
		wait ( 4000.000 );
	}

	wait ( 6000.000 );
	set ( "mainlift_position", "1" );
	use ( "mainlift_hurt" );
	use ( "mainlift_useable" );

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


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

}


else (  )
{

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


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

	rem ( "Move Main Lift Down" );
	use ( "mainlift_useable" );
	use ( "mainlift_clip" );
	use ( "mainlift_hurt" );
	wait ( 3000.000 );

	affect ( "mainlift", /*@AFFECT_TYPE*/ FLUSH )
	{
		move ( $tag( "majorlift_bottom", ORIGIN)$, < 0.000 0.000 0.000 >, 6000.000 );
		wait ( 6000.000 );
	}

	wait ( 6000.000 );
	set ( "mainlift_position", "2" );
	use ( "mainlift_hurt" );
	use ( "mainlift_clip" );
	use ( "mainlift_useable" );

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


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

}

