Author Topic: onBotAggro and setBotFireRate  (Read 1007 times)

Here's two bot even ideas I have that would be useful (and that I'll probably need sometime).

onBotAggro:
Activates whenever a bot starts attacking a player or fleeing from a player.

setBotFireRate:
This is something that I really want. I have two ideas for it:
setBotFireRate -> singleFire -> 1 parameter box
setBotFireRate -> rapidFire -> 2 parameter boxes

Single Fire: Fire 1 shot and wait set seconds (similar to just clicking the mouse once). The box specifies the time in seconds before firing another single shot. I am assuming if you set the time lower than the weapon's fastest firing speed (like for the default gun) it would just be rapid fire.
Rapid Fire: Fire multiple shots then wait. First box sets how long the bot fires the weapon in seconds. Second box sets how long to wait before firing another burst. Setting the first box to -1 and second to 0 should just be continuous fire.

I would really appreciate it if somebody made these. It is really frustrating when a bot can't fire some weapons with charge up such as a minigun. They just sit there turning the barrel, then waiting and turning it again.

EDIT: Changed the first event to something a little more useful.
« Last Edit: March 15, 2015, 01:56:15 PM by Legodude77 »


I would really appreciate it if somebody made these. It is really frustrating when a bot can't fire some weapons with charge up such as a minigun. They just sit there turning the barrel, then waiting and turning it again.

This is why you programmatically brown townyze the image state system before blindly calling setImageTrigger..

I agree. Alot of the events from the bot-events add-on were taken away in the Bot_Hole update. I can't understand why.

Bump

Changed the first suggestion to onBotAggro. This would be activated whenever the bot either starts attacking a player or fleeing from one.

Bump

Is something like setbotFireRate even possible?