Jump to content

Recommended Posts

Posted

Hello there.

 

I try to make a mision where i have to resupply an airfield with rockets and fuel by using Uh and Mi-8. Is it somehow possible to make that happend? I will to achieve that only the stories i bring to the airfield are usable to aircrafts on airfield.

Posted

The built-in DCS warehouse system has no way to set the supply values from Lua. I am not even sure if you can query the current values (the "warehouses" table has the values from mission start, but if you get the airbase object using world.getAirbases() it might have a getAmmo() or getDesc() method).

 

When a player lands a plane with a certain store at an airfield and then goes back to spectators, that store will be added to the airfields warehouse, but then you could have fired it from the "ferry aircraft" in the first place...

 

I wonder if AI planes interact with the warehouse system in any way.

  • Recently Browsing   0 members

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