Adding a delay between enemy attacks - with burst fire

grkwasniewski

New member
Hi :)

I'm using one of the trees from the DeatmachAI kit. The attack part from the AIAttack subtree looks like this:

Screenshot 2021-07-10 at 11.58.53.png

Whenever AI Agent starts attacking, the "Attack" node starts to run indefinitely, because the node is returning the "Running" state. And I get this part. I thought that I could just set burst fire on the AI Agent gun - 5 fires in a row, then a 3-second delay after every burst. But AI Agent is completely ignoring burst delay. He is shooting like crazy without any delay - 5 shoots, 5 shoots ... etc. What is the proper way for setting up a delay in this case?
 
You can adjust the Use Rate on the item to reduce the amount that the agent can shoot at a single time.
 
Yeah, I have tried that already. But when I set Use Rate to 5 seconds + Burst Fire Mode + Burst Dealy to 0.1 - the agent for some reason will still fire only one shoot after 5 seconds. Burst fire is ignored.
 
Top