Subversion-Projekte sthq.colony7

Revision

Blame | Letzte Änderung | Log anzeigen | RSS feed

//Generated by BehavEd

rem ( "comment" );

if ( $get( STRING, "dooropen3")="true"$ )
{
        set ( /*@SET_TYPES*/ "SET_PLAYER_LOCKED", /*@BOOL_TYPES*/ "true" );
        set ( "dooropen3", "false" );

        affect ( "Munro", /*@AFFECT_TYPE*/ FLUSH )
        {

                task ( "before" )
                {
                        sound ( /*@CHANNELS*/ CHAN_VOICE, "sound/voice/c7-1_4/Gordon/before.mp3" );
                }

                dowait ( "before" );

                affect ( "Pelletier", /*@AFFECT_TYPE*/ FLUSH )
                {

                        task ( "okay" )
                        {
                                sound ( /*@CHANNELS*/ CHAN_VOICE, "sound/voice/c7-1_4/Marx/okay.mp3" );
                        }

                        dowait ( "okay" );

                        task ( "only" )
                        {
                                sound ( /*@CHANNELS*/ CHAN_VOICE, "sound/voice/c7-1_4/Marx/only.mp3" );
                        }

                        dowait ( "only" );

                        task ( "move" )
                        {
                                sound ( /*@CHANNELS*/ CHAN_VOICE, "sound/voice/c7-1_4/Marx/move.mp3" );
                        }

                        dowait ( "move" );

                        affect ( "Lang", /*@AFFECT_TYPE*/ FLUSH )
                        {

                                task ( "yes" )
                                {
                                        set ( /*@SET_TYPES*/ "SET_LOOK_TARGET", "Pelletier" );
                                        sound ( /*@CHANNELS*/ CHAN_VOICE, "sound/voice/c7-1_4/Romanov/yes.mp3" );
                                }

                                dowait ( "yes" );
                        }


                        affect ( "Vorik", /*@AFFECT_TYPE*/ FLUSH )
                        {
                                set ( /*@SET_TYPES*/ "SET_LOOK_TARGET", "Pelletier" );
                                set ( /*@SET_TYPES*/ "SET_ANIM_UPPER", /*@ANIM_NAMES*/ "TORSO_HEADNOD1" );
                        }

                        wait ( 2000.000 );
                        wait ( 500.000 );

                        task ( "unlock" )
                        {
                                sound ( /*@CHANNELS*/ CHAN_VOICE, "sound/voice/c7-1_4/Marx/unlock.mp3" );
                        }

                        dowait ( "unlock" );

                        affect ( "Vorik", /*@AFFECT_TYPE*/ FLUSH )
                        {
                                set ( /*@SET_TYPES*/ "SET_WEAPON", /*@WEAPON_NAMES*/ "WP_NONE" );
                                set ( /*@SET_TYPES*/ "SET_LOOK_TARGET", "NULL" );
                                set ( /*@SET_TYPES*/ "SET_ANGLES", < 0.000 270.000 0.000 > );
                                set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_FACE" );
                                wait ( 500.000 );
                                set ( /*@SET_TYPES*/ "SET_ANIM_BOTH", /*@ANIM_NAMES*/ "BOTH_CONSOLE2" );
                                set ( /*@SET_TYPES*/ "SET_ANIM_HOLDTIME_BOTH", 2000 );
                                wait ( 2000.000 );
                                //(BHVDREM)  use ( "big_room_doors_act" );
                                use ( "big_room_doors" );
                        }

                        wait ( 2500.000 );
                        run ( "c7-1_4/enterbigroom" );
                }

        }

        //(BHVDREM)  wait ( 2500.000 );
        //(BHVDREM)  run ( "c7-1_4/enterbigroom" );
        wait ( 500.000 );
}