Subversion-Projekte sthq.colony7

Revision

Blame | Letzte Änderung | Log anzeigen | RSS feed

//Generated by BehavEd

rem ( "comment" );
use ( "doormovesound" );
use ( "doorclosesound" );

//(BHVDREM)  affect ( "Vorik", /*@AFFECT_TYPE*/ FLUSH )
//(BHVDREM)  {
        //(BHVDREM)  wait ( 1000.000 );

        //(BHVDREM)  task ( "gotobehinddoornav0" )
        //(BHVDREM)  {
                //(BHVDREM)  set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_RUN" );
                //(BHVDREM)  set ( "NAVGOAL", "behinddoornav0" );
        //(BHVDREM)  }


        //(BHVDREM)  task ( "gotobehinddoornav1" )
        //(BHVDREM)  {
                //(BHVDREM)  set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_RUN" );
                //(BHVDREM)  set ( "NAVGOAL", "behinddoornav1" );
        //(BHVDREM)  }


        //(BHVDREM)  task ( "gotobehinddoornav2" )
        //(BHVDREM)  {
                //(BHVDREM)  set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_RUN" );
                //(BHVDREM)  set ( "NAVGOAL", "vorik_behinddoornav2" );
        //(BHVDREM)  }

        //(BHVDREM)  dowait ( "gotobehinddoornav0" );
        //(BHVDREM)  dowait ( "gotobehinddoornav1" );
        //(BHVDREM)  dowait ( "gotobehinddoornav2" );
        //(BHVDREM)  set ( /*@SET_TYPES*/ "SET_ANGLES", < 0.000 170.000 0.000 > );
        //(BHVDREM)  set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_FACE" );
//(BHVDREM)  }


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

        task ( "gotobehinddoornav0" )
        {
                set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_RUN" );
                set ( "NAVGOAL", "behinddoornav0" );
        }


        task ( "gotobehinddoornav1" )
        {
                set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_RUN" );
                set ( "NAVGOAL", "behinddoornav1" );
        }


        task ( "gotobehinddoornav2" )
        {
                set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_RUN" );
                set ( "NAVGOAL", "Pelletier_behinddoornav2" );
        }

        dowait ( "gotobehinddoornav0" );
        dowait ( "gotobehinddoornav1" );
        dowait ( "gotobehinddoornav2" );
        set ( /*@SET_TYPES*/ "SET_ANGLES", < 0.000 200.000 0.000 > );
        set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_FACE" );
}


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

        task ( "doorsopen" )
        {
                sound ( /*@CHANNELS*/ CHAN_VOICE, "sound/voice/c7-1_3/Romanov/doorsopen.mp3" );
        }

        dowait ( "doorsopen" );

        task ( "gotonav3" )
        {
                set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_RUN" );
                set ( "NAVGOAL", "nav3" );
        }


        task ( "gotobehinddoornav0" )
        {
                set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_RUN" );
                set ( "NAVGOAL", "behinddoornav0" );
        }


        task ( "gotobehinddoornav1" )
        {
                set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_RUN" );
                set ( "NAVGOAL", "behinddoornav1" );
        }


        task ( "gotobehinddoornav2" )
        {
                set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_RUN" );
                set ( "NAVGOAL", "Lang_behinddoornav2" );
        }

        dowait ( "gotonav3" );
        dowait ( "gotobehinddoornav0" );
        dowait ( "gotobehinddoornav1" );
        dowait ( "gotobehinddoornav2" );
        set ( /*@SET_TYPES*/ "SET_ANGLES", < 0.000 0.000 0.000 > );
        set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_FACE" );
}