Author Topic: Please help!  (Read 642 times)

i have a bot with a assault rifle but he shoots one bullet at a time how do i make him shoot like 3 burst?

You already have a thread with the exact same question. Why did you post a new thread?

Because no one was helping.

Check the damn script...
It's easy to find.

Wait, did you created your own bot, or do you use Rot's zombiestuff?
« Last Edit: November 06, 2009, 05:38:16 AM by lordician »

Wait, do you created your own bot, or do you use Rot's zombiestuff?
What?

What?
I asked if he created his own botscript, or if he is creating an Ai (that works with Rotondo's zombiemod)...
Anyways,
Code: [Select]
function BotShootMode(%this)
{
if(isobject(%this) && %this.getstate() !$= "Dead")
{
%this.setimagetrigger(0,1);
                                %this.setimagetrigger(0,0);
}
}
This snippety will make the bot shoot once, so if you let him trigger this function multiple times, it will shoot multiple times.

No it won't, you would just need to delay the setting of the trigger to zero so that it would be held down.

No it won't, you would just need to delay the setting of the trigger to zero so that it would be held down.
Derp, also a possibility, but not all weapons can shoot like that.
With some you need to click multiple times instead of holding down the trigger.

But most of the Assault stuff would work like Amade said.