I'm done writing the AI to avoid grenades. Only Civilians and Soldiers will avoid grenades, the rest won't - including Gangs, so that's a weakness you can exploit to get rid of large groups of them.
Coding the AI for throwing grenades has to be done carefully. I don't want the NPCs to blow each other up or worse kill the player. If not done properly, hilarity could ensues. At the expense of the player.
For this reason I toned down grenade damage, they are only guaranteed kill for humans if you stand on them.
An explosive caugh in an explosion(sic) will explode(re-sic) even when not primed. Chain reaction.
That means you will be able to setup nice grenade traps.
- Drop unprimed grenades along a path within the blast radius of each other.
- Bait the horde to follow your along the path.
- Throw a grenade behind you.
- Watch the fireworks.
End of post.