Jump to content

Dynamicly managing warehouses file with script


Recommended Posts

Posted

Hi,

is it possible to edit airfields warehouses with a script during mission?

Example:

 

at mission start airfield has 10 planes

if time more then 60 seconds > do script

 

result:

airfield has 0 planes

 

which function can do it if there is any?

Posted (edited)

cant at the moment.

Can only edit the warehouse file in the MIZ file to change it, no way to control it while mission is running.

 

You have a workaround, you can place 0 resources and supply on the airbase and place warehouses nearby that are linked to the supply of the airbase, then at certain points use object.destroy to remove the warehouse.

This is the only way I can think of at the moment.

Edited by xcom
  • Like 1
  • Recently Browsing   0 members

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