Subversion-Projekte sthq.colony7

Revision

Blame | Letzte Änderung | Log anzeigen | RSS feed

//Generated by BehavEd

rem ( "comment" );
set ( /*@SET_TYPES*/ "SET_NOAVOID", "true" );
//(BHVDREM)  set ( /*@SET_TYPES*/ "SET_ARMOR", 200 );
//(BHVDREM)  set ( /*@SET_TYPES*/ "SET_HEALTH", 200 );

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


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


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


//(BHVDREM)  task ( "runtonav2" )
//(BHVDREM)  {
        //(BHVDREM)  set ( "BSTATE", "BS_RUN" );
        //(BHVDREM)  set ( "NAVGOAL", "nav2" );
//(BHVDREM)  }


//(BHVDREM)  task ( "runtonav3" )
//(BHVDREM)  {
        //(BHVDREM)  set ( "BSTATE", "BS_RUN" );
        //(BHVDREM)  set ( "NAVGOAL", "nav3" );
//(BHVDREM)  }

//(BHVDREM)  dowait ( "runtonav15" );

if ( $get( STRING, "verfolgung")="true"$ )
{
        set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_HUNT_AND_KILL" );
        wait ( 1000.000 );
        dowait ( "runtonav0" );
        set ( "verfolgung", "false" );
}


else (  )
{
        wait ( 4000.000 );
        dowait ( "runtonav0" );
}

set ( /*@SET_TYPES*/ "SET_BEHAVIOR_STATE", /*@BSTATE_STRINGS*/ "BS_RUN_AND_SHOOT" );

if ( $get( STRING, "SET_PARM1")="Kl1"$ )
{
        set ( /*@SET_TYPES*/ "SET_ENEMY", "Lang" );
}


if ( $get( STRING, "SET_PARM1")="Kl2"$ )
{
        set ( /*@SET_TYPES*/ "SET_ENEMY", "Pelletier" );
}


if ( $get( STRING, "SET_PARM1")="Kl3"$ )
{
        set ( /*@SET_TYPES*/ "SET_ENEMY", "Munro" );
}


if ( $get( STRING, "SET_PARM1")="Kl4"$ )
{
        set ( /*@SET_TYPES*/ "SET_ENEMY", "Munro" );
}


loop ( -1 )
{
        wait ( 1000.000 );

        if ( $get( STRING, "durchdoor")="true"$ )
        {
                remove ( "self" );
        }


        if ( $get( STRING, "proximity")="true"$ )
        {
                set ( /*@SET_TYPES*/ "SET_ENEMY", "munro" );
                set ( /*@SET_TYPES*/ "SET_ALT_FIRE", /*@BOOL_TYPES*/ "true" );
        }


        else (  )
        {
                set ( /*@SET_TYPES*/ "SET_ALT_FIRE", /*@BOOL_TYPES*/ "false" );
        }

}