Jump to content

How to resupply units with MOOSE


Recommended Posts

I am trying to find a way to resupply units with MOOSE scripting.

The idea is that an airborne infantry would land at an LZ and when it arrives at its destination, the infantry groups and a mortar there would be resupplied.

I just need to know if there is any function to resupply these units.

Link to comment
Share on other sites

There is no native scripting function to re-arm AI. You either can "respawn" the group by spawning a new one with the exact units in the exact positions or you can spawn certain types of units and rely on the AI to re-arm themselves automatically. Usually most trucks can act as a ammo source, place one in the mission editor and if you see a black circle around the unit with a radius of 100m or so then that unit can rearm other AI. Depending on the unit type and amount of ammunition needing to be re-armed the time it can take has some extensive variation. Though infantry and mortars are pretty quick. The time becomes a factor with larger munitions like the SA-2 where it takes 45 minutes or SA-10 at 30 minutes per missile.  

  • Thanks 1

The right man in the wrong place makes all the difference in the world.

Current Projects:  Grayflag ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...