mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-22 22:05:44 +00:00
nukes
This commit is contained in:
parent
ea39456fd9
commit
1706cef05e
@ -37,6 +37,7 @@ watchSniper()
|
||||
for ( i = 0; i < level.players.size; i++ )
|
||||
{
|
||||
player = level.players[i];
|
||||
|
||||
if ( player is_bot() )
|
||||
continue;
|
||||
|
||||
@ -62,7 +63,10 @@ watchSniper()
|
||||
watchNuke()
|
||||
{
|
||||
setDvar( "scr_spawnpointfavorweight", "" );
|
||||
|
||||
for ( i = 0; i < 3; i++ )
|
||||
level waittill( "nuke_death" );
|
||||
|
||||
setDvar( "scr_spawnpointfavorweight", "499999" );
|
||||
}
|
||||
|
||||
@ -121,6 +125,7 @@ watchBotLoadout()
|
||||
self maps\mp\perks\_perks::givePerk( "semtex_mp" );
|
||||
|
||||
twoStreak = "helicopter_minigun";
|
||||
|
||||
if ( random )
|
||||
twoStreak = "ac130";
|
||||
|
||||
@ -148,9 +153,11 @@ watchTeams()
|
||||
continue;
|
||||
|
||||
team = getDvar( "bot_pvb_helper_noPlayersOnTeam" );
|
||||
|
||||
for ( i = 0; i < level.players.size; i++ )
|
||||
{
|
||||
player = level.players[i];
|
||||
|
||||
if ( player is_bot() )
|
||||
continue;
|
||||
|
||||
@ -168,11 +175,13 @@ watchTeams()
|
||||
onBotSayVar()
|
||||
{
|
||||
SetDvar( "bot_say", "" );
|
||||
|
||||
for ( ;; )
|
||||
{
|
||||
wait 0.05;
|
||||
|
||||
toSay = GetDvar( "bot_say" );
|
||||
|
||||
if ( toSay == "" )
|
||||
continue;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user