mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-23 06:15:43 +00:00
A lot of chat stuff
This commit is contained in:
parent
f58e91b762
commit
5f44a7b455
@ -399,6 +399,23 @@ doNotifyOnAirdrop()
|
||||
|
||||
self.doingPhysics = false;
|
||||
self.owner notify( "crate_physics_done" );
|
||||
|
||||
self thread onCarepackageCaptured();
|
||||
}
|
||||
|
||||
/*
|
||||
Waits to be captured
|
||||
*/
|
||||
onCarepackageCaptured()
|
||||
{
|
||||
self endon( "death" );
|
||||
|
||||
self waittill( "captured", player );
|
||||
|
||||
if ( isDefined( self.owner ) && self.owner is_bot() )
|
||||
{
|
||||
self.owner BotNotifyBotChat( "crate_cap", "captured", self, player );
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -4159,14 +4159,14 @@ bot_target_vehicle_loop()
|
||||
if ( !isDefined( target ) )
|
||||
return;
|
||||
|
||||
self BotNotifyBotChat( "attack_vehicle", "start", target );
|
||||
self BotNotifyBotChat( "attack_vehicle", "start", target, rocketAmmo );
|
||||
|
||||
self SetScriptEnemy( target, ( 0, 0, 0 ) );
|
||||
self bot_attack_vehicle( target );
|
||||
self ClearScriptEnemy();
|
||||
self notify( "bot_force_check_switch" );
|
||||
|
||||
self BotNotifyBotChat( "attack_vehicle", "stop", target );
|
||||
self BotNotifyBotChat( "attack_vehicle", "stop", target, rocketAmmo );
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user