Jump to content

Recommended Posts

Posted

create a zone in ME, then destroy it and save. Add a script with trigger.misc.getZone with the name of the destroyed zone. Then the function still returns the zone.

 

After retarting DCS, the function returns nil.

 

Not tested with 1.5.4

Posted (edited)

Not destroy with lua but in the mission editor. In lua only use getZone. When using that functing just after delete the zone in ME still returns the deleted zone. After restarts Dcs retiens nil! Perhaps only exits the mission and reload is the same not tested.

Edited by sunski34
  • 3 months later...
Posted
Not destroy with lua but in the mission editor. In lua only use getZone. When using that functing just after delete the zone in ME still returns the deleted zone. After restarts Dcs retiens nil! Perhaps only exits the mission and reload is the same not tested.

 

Maybe a stupid question, but did you save the mission after deleting the zone? I've noticed that the Mission Editor doesn't prompt me to save the mission if zones are the only thing I've changed in it since the last save...

  • Recently Browsing   0 members

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