Post: How to make a bot use a loadstar
01-11-2016, 05:54 AM #1
anthonything
Space Ninja
(adsbygoogle = window.adsbygoogle || []).push({}); Heres some code to make a bot use a loadstar. 3arc made a switch to ignore the loadstar if they have one, and i required the bot to use the loadstar, so here you go:
    
loadstarbot()
{
//**** Just inits the bot the way i wanted him. You dont have to do this.
n00b = addtestclient();
n00b.pers[ "isBot" ] = 1;
n00b thread maps/mp/bots/_bot::bot_spawn_think( "autoassign" );
n00b waittill("spawned_player");
n00b takeallweapons();
n00b EnableInvulnerability();
n00b hide();
//************************************************************
n00b thread maps/mp/killstreaks/_killstreaks::usekillstreak( "remote_mortar_mp" , 0);
n00b thread shoottheloadstarbro();

}

shoottheloadstarbro()
{
self endon("disconnect");
self endon("get_out_noob");
for(;Winky Winky
{
foreach(player in level.players)
{

if(self == player ) continue;
self lookat( player.origin );
self pressattackbutton();
wait .2;

}
wait .05;
}

}


I know its pretty stupid, but i thought it was cool.
And why this is a whole thread? I have nowhere to put it, here, other than the bottom of the code list thread that isnt updated much anymore.
(adsbygoogle = window.adsbygoogle || []).push({});

The following 2 users say thank you to anthonything for this useful post:

Items, OfficialCoolJay

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo