Page 1 of 1

Assign land units to a base

Posted: Wed Jul 29, 2020 7:30 pm
by tmoilanen
Is it possible to assign Land Units (I'm thinking SAM or SSM units) to a base to allow replenishment of ammunition.

Barring that, is there a way to accomplish this with LUA scripting?

RE: Assign land units to a base

Posted: Wed Jul 29, 2020 7:56 pm
by kevinkins
If you mean an airbase where aircraft get rearmed based on their ready times - I think the answer is no for SAM and SSM platforms. As far are as lua, I have never looked into doing this. But if a function exists, you might be able to fire it via a Special Action. It's one of those things one has to look through the documentation and see if there is code to meet your goals. If it can get done, someone with more knowledge will get back to you shortly.

RE: Assign land units to a base

Posted: Wed Jul 29, 2020 7:57 pm
by kevinkins
Duplicate deleted.

RE: Assign land units to a base

Posted: Thu Jul 30, 2020 7:41 am
by Gunner98
Lua scripting will replenish the ammo no problem but you can also attach a magazine to a ground unit.

The downside is that the unit then becomes fixed itself and it tethered to the magazine/

Just add your unit and right next to it add an 'ammo pad' or other ammo magazine. Then group them. Add whatever ammo you want to the magazine

RE: Assign land units to a base

Posted: Thu Jul 30, 2020 1:32 pm
by Whicker
there is an ammo truck that if they are grouped with they can resupply from. I'd like to see ground units have the ability to have a home base, then they could go out on missions and come back.

RE: Assign land units to a base

Posted: Fri Jul 31, 2020 12:13 am
by michaelm75au
You should be able to replenish a land unit from the ammo truck without having to group them - it is working that way in my latest version.

Image

I realise that this is about auto supply, just throwing it out there.

RE: Assign land units to a base

Posted: Fri Jul 31, 2020 9:46 am
by Gunner98
Nice feature - thanks

RE: Assign land units to a base

Posted: Fri Jul 31, 2020 5:35 pm
by tylerblakebrandon
Logistics!

Re: RE: Assign land units to a base

Posted: Sat May 07, 2022 2:08 pm
by hrfepo1
michaelm75au wrote: Fri Jul 31, 2020 12:13 am You should be able to replenish a land unit from the ammo truck without having to group them - it is working that way in my latest version.

Image

I realise that this is about auto supply, just throwing it out there.
Thank you! Do you know how close a unit must be to a supply truck to trigger the auto-resupply?