mirror of
https://github.com/ineedbots/iw5_bot_warfare.git
synced 2025-04-25 15:19:14 +00:00
change func name
This commit is contained in:
parent
8ecaf48ba9
commit
e02f7d6cb2
@ -2086,7 +2086,7 @@ walk()
|
||||
if ( !isAlive( self ) )
|
||||
return;
|
||||
|
||||
self botMoveTo( self.bot.moveOrigin );
|
||||
self botSetMoveTo( self.bot.moveOrigin );
|
||||
|
||||
if ( !getDVarINt( "bots_play_move" ) )
|
||||
continue;
|
||||
@ -2098,7 +2098,7 @@ walk()
|
||||
{
|
||||
self.bot.last_next_wp = -1;
|
||||
self.bot.last_second_next_wp = -1;
|
||||
self botMoveTo( self.bot.moveOrigin + self GetVelocity() * 500 );
|
||||
self botSetMoveTo( self.bot.moveOrigin + self GetVelocity() * 500 );
|
||||
continue;
|
||||
}
|
||||
|
||||
@ -2132,7 +2132,7 @@ strafe( target )
|
||||
|
||||
self.bot.last_next_wp = -1;
|
||||
self.bot.last_second_next_wp = -1;
|
||||
self botMoveTo( strafe );
|
||||
self botSetMoveTo( strafe );
|
||||
wait 2;
|
||||
self notify( "kill_goal" );
|
||||
}
|
||||
@ -2315,7 +2315,7 @@ movetowards( goal )
|
||||
|
||||
while ( distanceSquared( self.bot.moveOrigin, goal ) > tempGoalDist )
|
||||
{
|
||||
self botMoveTo( goal );
|
||||
self botSetMoveTo( goal );
|
||||
|
||||
if ( time > 3000 )
|
||||
{
|
||||
@ -2332,7 +2332,7 @@ movetowards( goal )
|
||||
|
||||
self BotNotifyBotEvent( "stuck" );
|
||||
|
||||
self botMoveTo( randomDir );
|
||||
self botSetMoveTo( randomDir );
|
||||
wait stucks;
|
||||
self stand();
|
||||
|
||||
@ -2734,7 +2734,7 @@ prone()
|
||||
/*
|
||||
Bot will move towards here
|
||||
*/
|
||||
botMoveTo( where )
|
||||
botSetMoveTo( where )
|
||||
{
|
||||
self.bot.moveTo = where;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user