One problem with bots is that they have one set of rules when it comes to weapons. They fire in intervals. I was thinking of a way that you could teach a bot in what intervals to fire
basically its an output event that has 3 text boxes
1. a large one to set firing type 2. a second small box telling how far the player must be to do it 3. another small box that tells what percentage chance it will be doing this type of attack
[ 1 ] [ 2 ] [ 3 ]
firing types would be in letter and number format, for an example
h - hold
f### - rapid fire (numbers for how many clicks per millisecond)
and what comes after is
l - left click
r - right click
j - jump
then you put a set time for how long they do it, like 4000 for 4 seconds and such
for an example
[ hl3000 ] [ 64 ] [50]
tells the bot to hold left click for 3 seconds, the player must be 64 studs away and there is a 50 percent chance they will do it
[ f300r4000 ] [ 5 ] [ 100 ]
tells the bot to rapid fire (f for fast or something) the right click button every 300 milliseconds, for 4 seconds, the player must be at most 5 studs away, and there is 100 chance they will do it
and if you want 1 firing sequence to have multiple you could like
[ f200r5000 500 hl3000 ] [ 30 ] [ 25 ]
tells the bot to rapid rightclick for 5 seconds, wait half a second, then hold left click for 3 seconds. the player must be 30 studs away, and there is a 25 percent chance they will do it
i was thinking calling it setFiringSequence
someone could probably come up with an easier concept but something like this would be really useful