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())
|
if (self HasThreat() || self HasBotJavelinLocation())
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
if (self InLastStand() && !self InFinalStand())
|
||||||
|
break;
|
||||||
|
|
||||||
anyWeapout = false;
|
anyWeapout = false;
|
||||||
weaponsList = self GetWeaponsListAll();
|
weaponsList = self GetWeaponsListAll();
|
||||||
for (i = 0; i < weaponsList.size; i++)
|
for (i = 0; i < weaponsList.size; i++)
|
||||||
@ -1588,6 +1591,9 @@ bot_use_tube_think()
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (self InLastStand() && !self InFinalStand())
|
||||||
|
continue;
|
||||||
|
|
||||||
self SetScriptAimPos(loc);
|
self SetScriptAimPos(loc);
|
||||||
self BotStopMoving(true);
|
self BotStopMoving(true);
|
||||||
wait 1;
|
wait 1;
|
||||||
@ -1895,6 +1901,9 @@ bot_jav_loc_think()
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (self InLastStand() && !self InFinalStand())
|
||||||
|
continue;
|
||||||
|
|
||||||
self SetBotJavelinLocation(loc);
|
self SetBotJavelinLocation(loc);
|
||||||
self setSpawnWeapon("javelin_mp");
|
self setSpawnWeapon("javelin_mp");
|
||||||
|
|
||||||
@ -2519,6 +2528,9 @@ bot_weapon_think()
|
|||||||
if (self IsUsingRemote())
|
if (self IsUsingRemote())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
if (self InLastStand() && !self InFinalStand())
|
||||||
|
continue;
|
||||||
|
|
||||||
curWeap = self GetCurrentWeapon();
|
curWeap = self GetCurrentWeapon();
|
||||||
hasTarget = self hasThreat();
|
hasTarget = self hasThreat();
|
||||||
if(hasTarget)
|
if(hasTarget)
|
||||||
@ -2765,6 +2777,9 @@ bot_killstreak_think()
|
|||||||
if (self IsUsingRemote())
|
if (self IsUsingRemote())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
if (self InLastStand() && !self InFinalStand())
|
||||||
|
continue;
|
||||||
|
|
||||||
streakName = self.pers["killstreaks"][0].streakName;
|
streakName = self.pers["killstreaks"][0].streakName;
|
||||||
|
|
||||||
if (level.inGracePeriod && maps\mp\killstreaks\_killstreaks::deadlyKillstreak(streakName))
|
if (level.inGracePeriod && maps\mp\killstreaks\_killstreaks::deadlyKillstreak(streakName))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user