How do I make my AIs throw grenades

So, I want to make my AIs being to throw grenades, but I don’t know how to calculate the arch of the grenade throw or how to make the grenade start by going up.

Any tips?

1 Like

You could use this:

to calculate where the ai should aim.

But then you still have to check whether something is in the way, whether the grenade blows up before it reaches the destination and alternative paths.


But this should be moved to scripting support, because this isn’t game design.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.