//Generated by BehavEd

rem ( "Open Lv.5 Door if player has correct Card" );

if ( $get( FLOAT, "SET_PARM1")$, $>$, $4$ )
{

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

	use ( "maincouncildoor" );
	wait ( 5000.000 );

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

}


else (  )
{
	sound ( /*@CHANNELS*/ CHAN_VOICE, "sound/interface/ammocon_empty.mp3" );
	use ( "level5deny" );
}

