mirror of
https://github.com/ineedbots/iw3_bot_warfare.git
synced 2025-04-19 17:32:54 +00:00
some misses
This commit is contained in:
parent
ad74f6b93d
commit
e181931ca2
@ -375,7 +375,7 @@ doBotMovement_loop( data )
|
|||||||
}
|
}
|
||||||
|
|
||||||
// climb through windows
|
// climb through windows
|
||||||
if ( self isMantling() )
|
if ( self ismantling() )
|
||||||
{
|
{
|
||||||
data.wasmantling = true;
|
data.wasmantling = true;
|
||||||
self crouch();
|
self crouch();
|
||||||
@ -395,7 +395,7 @@ doBotMovement_loop( data )
|
|||||||
// check if need to jump
|
// check if need to jump
|
||||||
bt = bullettrace( startPosForward, startPosForward - ( 0, 0, 40 ), false, self );
|
bt = bullettrace( startPosForward, startPosForward - ( 0, 0, 40 ), false, self );
|
||||||
|
|
||||||
if ( bt[ "fraction" ] < 1 && bt[ "normal" ][ 2 ] > 0.9 && data.i > 1.5 && !self isOnLadder() )
|
if ( bt[ "fraction" ] < 1 && bt[ "normal" ][ 2 ] > 0.9 && data.i > 1.5 && !self isonladder() )
|
||||||
{
|
{
|
||||||
data.i = 0;
|
data.i = 0;
|
||||||
self thread jump();
|
self thread jump();
|
||||||
|
@ -3116,7 +3116,7 @@ bombPlantedFix( destroyedObj, player )
|
|||||||
level.tickingobject = destroyedObj.visuals[ 0 ];
|
level.tickingobject = destroyedObj.visuals[ 0 ];
|
||||||
|
|
||||||
level.timelimitoverride = true;
|
level.timelimitoverride = true;
|
||||||
setGameEndTime( int( gettime() + ( level.bombtimer * 1000 ) ) );
|
setgameendtime( int( gettime() + ( level.bombtimer * 1000 ) ) );
|
||||||
setdvar( "ui_bomb_timer", 1 );
|
setdvar( "ui_bomb_timer", 1 );
|
||||||
|
|
||||||
if ( !level.multibomb )
|
if ( !level.multibomb )
|
||||||
@ -3128,7 +3128,6 @@ bombPlantedFix( destroyedObj, player )
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
||||||
for ( index = 0; index < level.players.size; index++ )
|
for ( index = 0; index < level.players.size; index++ )
|
||||||
{
|
{
|
||||||
if ( isdefined( level.players[ index ].carryicon ) )
|
if ( isdefined( level.players[ index ].carryicon ) )
|
||||||
@ -3223,7 +3222,7 @@ bombPlantedFix( destroyedObj, player )
|
|||||||
|
|
||||||
defuseObject maps\mp\gametypes\_gameobjects::disableobject();
|
defuseObject maps\mp\gametypes\_gameobjects::disableobject();
|
||||||
|
|
||||||
setGameEndTime( 0 );
|
setgameendtime( 0 );
|
||||||
|
|
||||||
wait 3;
|
wait 3;
|
||||||
|
|
||||||
|
@ -146,7 +146,7 @@ watchPlayerOpenMenu()
|
|||||||
|
|
||||||
for ( ;; )
|
for ( ;; )
|
||||||
{
|
{
|
||||||
while ( !self FragButtonPressed() || !self SecondaryOffhandButtonPressed() )
|
while ( !self fragbuttonpressed() || !self secondaryoffhandbuttonpressed() )
|
||||||
{
|
{
|
||||||
wait 0.05;
|
wait 0.05;
|
||||||
}
|
}
|
||||||
@ -179,7 +179,7 @@ watchPlayerOpenMenu()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
while ( self FragButtonPressed() && self SecondaryOffhandButtonPressed() )
|
while ( self fragbuttonpressed() && self secondaryoffhandbuttonpressed() )
|
||||||
{
|
{
|
||||||
wait 0.05;
|
wait 0.05;
|
||||||
}
|
}
|
||||||
|
@ -115,7 +115,7 @@ beginDebug()
|
|||||||
self.closest = -1;
|
self.closest = -1;
|
||||||
self.command = undefined;
|
self.command = undefined;
|
||||||
|
|
||||||
self clearPerks();
|
self clearperks();
|
||||||
self takeallweapons();
|
self takeallweapons();
|
||||||
self.specialty = [];
|
self.specialty = [];
|
||||||
self giveweapon( "m16_gl_mp" );
|
self giveweapon( "m16_gl_mp" );
|
||||||
@ -221,7 +221,7 @@ addWaypoints()
|
|||||||
|
|
||||||
for ( ;; )
|
for ( ;; )
|
||||||
{
|
{
|
||||||
while ( !self SecondaryOffhandButtonPressed() || isdefined( self.command ) )
|
while ( !self secondaryoffhandbuttonpressed() || isdefined( self.command ) )
|
||||||
{
|
{
|
||||||
wait 0.05;
|
wait 0.05;
|
||||||
}
|
}
|
||||||
@ -240,7 +240,7 @@ addWaypoints()
|
|||||||
|
|
||||||
self.command = undefined;
|
self.command = undefined;
|
||||||
|
|
||||||
while ( self SecondaryOffhandButtonPressed() )
|
while ( self secondaryoffhandbuttonpressed() )
|
||||||
{
|
{
|
||||||
wait 0.05;
|
wait 0.05;
|
||||||
}
|
}
|
||||||
@ -290,7 +290,7 @@ deleteWaypoints()
|
|||||||
|
|
||||||
for ( ;; )
|
for ( ;; )
|
||||||
{
|
{
|
||||||
while ( !self fragButtonPressed() || isdefined( self.command ) )
|
while ( !self fragbuttonpressed() || isdefined( self.command ) )
|
||||||
{
|
{
|
||||||
wait 0.05;
|
wait 0.05;
|
||||||
}
|
}
|
||||||
@ -317,7 +317,7 @@ deleteWaypoints()
|
|||||||
|
|
||||||
self.command = undefined;
|
self.command = undefined;
|
||||||
|
|
||||||
while ( self fragButtonPressed() )
|
while ( self fragbuttonpressed() )
|
||||||
{
|
{
|
||||||
wait 0.05;
|
wait 0.05;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user