mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-22 05:55:42 +00:00
laststand use
This commit is contained in:
parent
ecb0c7f202
commit
5031566a78
@ -1438,6 +1438,9 @@ bot_perk_think()
|
||||
if (self HasThreat() || self HasBotJavelinLocation())
|
||||
break;
|
||||
|
||||
if (self InLastStand() && !self InFinalStand())
|
||||
break;
|
||||
|
||||
anyWeapout = false;
|
||||
weaponsList = self GetWeaponsListAll();
|
||||
for (i = 0; i < weaponsList.size; i++)
|
||||
@ -1588,6 +1591,9 @@ bot_use_tube_think()
|
||||
continue;
|
||||
}
|
||||
|
||||
if (self InLastStand() && !self InFinalStand())
|
||||
continue;
|
||||
|
||||
self SetScriptAimPos(loc);
|
||||
self BotStopMoving(true);
|
||||
wait 1;
|
||||
@ -1895,6 +1901,9 @@ bot_jav_loc_think()
|
||||
continue;
|
||||
}
|
||||
|
||||
if (self InLastStand() && !self InFinalStand())
|
||||
continue;
|
||||
|
||||
self SetBotJavelinLocation(loc);
|
||||
self setSpawnWeapon("javelin_mp");
|
||||
|
||||
@ -2519,6 +2528,9 @@ bot_weapon_think()
|
||||
if (self IsUsingRemote())
|
||||
continue;
|
||||
|
||||
if (self InLastStand() && !self InFinalStand())
|
||||
continue;
|
||||
|
||||
curWeap = self GetCurrentWeapon();
|
||||
hasTarget = self hasThreat();
|
||||
if(hasTarget)
|
||||
@ -2765,6 +2777,9 @@ bot_killstreak_think()
|
||||
if (self IsUsingRemote())
|
||||
continue;
|
||||
|
||||
if (self InLastStand() && !self InFinalStand())
|
||||
continue;
|
||||
|
||||
streakName = self.pers["killstreaks"][0].streakName;
|
||||
|
||||
if (level.inGracePeriod && maps\mp\killstreaks\_killstreaks::deadlyKillstreak(streakName))
|
||||
|
Loading…
x
Reference in New Issue
Block a user