Hoggorm Posted October 24, 2015 Posted October 24, 2015 Hi, I'd like to ensure that the AA units in my mission do not run out of ammo. How can I assure this? Is it possible to give them unlimited ammo or can I place an ammo truck next to them? How far away from the AA unit can it be and still be able to reload? Thank you
FSFIan Posted October 24, 2015 Posted October 24, 2015 I don't know about the specifics of how ammo trucks work or how long they need to reload when an ammo truck as available. However, if you can't get that to work, there is a simple solution: you can watch the amount of ammo left with unit:getAmmo() and respawn the group when it has run out. It has the side effect of also healing the unit(s), but since most kills in DCS only need one hit anyway it's not too much of a problem. DCS-BIOS | How to export CMSP, RWR, etc. through MonitorSetup.lua
Hoggorm Posted October 25, 2015 Author Posted October 25, 2015 Thank you! Will this work if the AA unit is controlled by a human in a multiplayer game?
FSFIan Posted October 25, 2015 Posted October 25, 2015 Will this work if the AA unit is controlled by a human in a multiplayer game? Probably not (when you respawn a group, the original unit dies so the player would be kicked out of the unit and have to reselect it). To make it somewhat acceptable as a workaround, you'd have to provide the player with a way to trigger the respawn at will (is there an F10 radio menu for CA players?). DCS-BIOS | How to export CMSP, RWR, etc. through MonitorSetup.lua
Recommended Posts