Below is code that I have tried, but if I have multiple No-Nav zones defined it will delete 1 zone, and not necessarily the one which is specified my the zone variable.
Any assistance would be appreciated...tm
Code: Select all
local myside = {'NATO'}
local myzone = {'Kaliningrad'}
for s = 1,#myside
do
local side = myside[s]
for z = 1, #myzone
do
zone = myzone[z] .." No-Nav Zone"
ScenEdit_RemoveZone(side,0,{zone})
end
end