News / General Barron's Indirect Fire scripts released
General Barron's Indirect Fire scripts released
General Barron from the OFPEC Staff has created new indirect fire scripts for being used with infantry, and released them in the BI Forums. The picture below is for illustration purpose only.
I present to you all a set of scripts that allow you to easily force AI infantry to shoot indirect fire at a target location.
There are two levels of stuff here: there is a function that scripters can use to make infantry fire in their own scripts/addons (like “dofire” but for indirect fire). There are also three “wrapper” scripts included, which are scripts directly usable in missions. One script lets the player order his squad to launch grenades by clicking on the map; another makes a unit barrage an area with indirect fire; and the last makes the AI use indirect fire against all enemies in range (about 400m for BIS weapons).
The sample mission showcases all of these scripts. I recommend you look carefully at what is going on: you will notice the AI making very long shots that they normally won’t take with grenades, among other things.

