Subversion-Projekte sthq.argas

Revision

Revision 8 | Zur aktuellen Revision | Blame | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

//Generated by BehavEd

rem ( "kirk grabs communicator" );

if ( $get( FLOAT, "SET_OBJECTIVEISODESIUM2")=1.000000$ )
{
        rem ( "Already got it." );
}


else (  )
{

        if ( $get( FLOAT, "SET_OBJECTIVEODELL")=1.000000$ )
        {

                affect ( "grabcom_kirk", /*@AFFECT_TYPE*/ FLUSH )
                {
                        set ( /*@SET_TYPES*/ "SET_INVISIBLE", /*@BOOL_TYPES*/ "false" );
                        camera ( /*@CAMERA_COMMANDS*/ ENABLE );
                        camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "comm_cam", ORIGIN)$, 0 );
                        camera ( /*@CAMERA_COMMANDS*/ PAN, $tag( "comm_cam", ANGLES)$, < 0.000 0.000 0.000 >, 0 );
                        wait ( 500.000 );
                        set ( /*@SET_TYPES*/ "SET_DPITCH", 100.000 );
                        wait ( 1000.000 );
                        camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "comm_cam2", ORIGIN)$, 0 );
                        camera ( /*@CAMERA_COMMANDS*/ PAN, $tag( "comm_cam2", ANGLES)$, < 0.000 0.000 0.000 >, 0 );
                        camera ( /*@CAMERA_COMMANDS*/ ZOOM, 30.000, 0 );
                        wait ( 2000.000 );
                        camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "comm_cam", ORIGIN)$, 0 );
                        camera ( /*@CAMERA_COMMANDS*/ PAN, $tag( "comm_cam", ANGLES)$, < 0.000 0.000 0.000 >, 0 );
                        camera ( /*@CAMERA_COMMANDS*/ ZOOM, 80.000, 0 );
                        remove ( "kirk_comm" );
                        set ( /*@SET_TYPES*/ "SET_BOLTON_ON", "ClosedTOS" );
                        set ( /*@SET_TYPES*/ "SET_DPITCH", 0.000 );

                        task ( "Put communicator" )
                        {
                                set ( /*@SET_TYPES*/ "SET_ANIM_HOLDTIME_UPPER", 1000 );
                                set ( /*@SET_TYPES*/ "SET_ANIM_UPPER", /*@ANIM_NAMES*/ "TORSO_GRABLBACKLREV" );
                        }

                        dowait ( "Put communicator" );
                        set ( /*@SET_TYPES*/ "SET_BOLTON_OFF", "ClosedTOS" );
                        set ( /*@SET_TYPES*/ "SET_BOLTON_ON", "communicator_hip" );
                        wait ( 2000.000 );
                        set ( /*@SET_TYPES*/ "SET_OBJECTIVE_SUCCEEDED", /*@OBJECTIVES*/ "OBJ_ISODESIUM2" );
                        remove ( "communicator_infostring" );

                        affect ( "munro", /*@AFFECT_TYPE*/ FLUSH )
                        {
                                set ( /*@SET_TYPES*/ "SET_BOLTON_ON", "communicator_hip" );
                        }


                        affect ( "tri_kirk1", /*@AFFECT_TYPE*/ FLUSH )
                        {
                                set ( /*@SET_TYPES*/ "SET_BOLTON_ON", "communicator_hip" );
                        }

                        set ( /*@SET_TYPES*/ "SET_INVISIBLE", /*@BOOL_TYPES*/ "true" );
                        camera ( /*@CAMERA_COMMANDS*/ DISABLE );
                }

        }


        else (  )
        {

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

                        task ( "commtalk" )
                        {
                                sound ( /*@CHANNELS*/ CHAN_VOICE, "sound/voice/ent2/Kirk/communicator.mp3" );
                        }

                        dowait ( "commtalk" );
                }

        }

}