Darth Linux is thinking about having me join up the DF Mod Team and is requiring me to make a map with some interesting things. I should learn how to script these on my own which is going over ok. Now on to NPC waypointing here look at this script and someone please tell me how to get my imperial officer to do this!
//Generated by BehavEd
rem ( "I took this from JK2 kejim post the gaurd that you first kill I think Ive set my nav goal for him to run from his barricade to a safe spot behind a wall through an open door." );
affect ( "imp_booth1", /*@AFFECT_TYPE*/ FLUSH )
{
task ( "patrol1" )
{
set ( /*@SET_TYPES*/ "SET_NAVGOAL", "run0_0" );
}
task ( "patrol2" )
{
set ( /*@SET_TYPES*/ "SET_NAVGOAL", "run0_1" );
}
loop ( -1 )
{
dowait ( "patrol1" );
wait ( 1000.000 );
dowait ( "patrol2" );
wait ( 1000.000 );
}
}
When I solve this ill move on to my second question
//Generated by BehavEd
rem ( "I took this from JK2 kejim post the gaurd that you first kill I think Ive set my nav goal for him to run from his barricade to a safe spot behind a wall through an open door." );
affect ( "imp_booth1", /*@AFFECT_TYPE*/ FLUSH )
{
task ( "patrol1" )
{
set ( /*@SET_TYPES*/ "SET_NAVGOAL", "run0_0" );
}
task ( "patrol2" )
{
set ( /*@SET_TYPES*/ "SET_NAVGOAL", "run0_1" );
}
loop ( -1 )
{
dowait ( "patrol1" );
wait ( 1000.000 );
dowait ( "patrol2" );
wait ( 1000.000 );
}
}
When I solve this ill move on to my second question