Ah yes, this was also a demo mission I was using for testing the full range of ammo types under player control. So, ok, I didn't need to mess with the ammo to use SOM/template missions. Actually, I'd prefer it if it did use its own ammo, since otherwise you could ask SOM to fire it continually through the mission. I expect that limiting available strikes is configurable, but undocumented, so I won't worry about it for now.
Ah, sorry, but I wasn't using any undocumented features at all! That mission template is copied directly from the BIKI documentation. If you just use:
[mortars, _target, ["IMMEDIATE", "HE", 0, 15]] call BIS_ARTY_F_ExecuteTemplateMission;
it won't work.
Yeah, very sorry that I made a big assumption about this being fixed in "the next version", I think because I'd given you the fix for it (literally renaming one variable in one function). However, I am fully aware from experience that even the most trivial of fixes need significant documentation, testing and review before they get into a full release. Thus, I should have known better than to make such a naive assumption!
EDIT: Sorry, yes, you are quite right Headspace, regarding BIS_ARTY_F_ExecuteTemplateMission. My test mission was faulty, thus I made bad deductions, I think.