Page 1 of 1
ScenEdit_AddZone and ScenEdit_RemoveZone fails
Posted: Mon Apr 05, 2021 1:07 pm
by Bandura1
Example:
ScenEdit_AddZone('A', 1, {description='Zone1', isactive=true, area={"RP-1", "RP-2", "RP-3", "RP-4"}, affects={'Aircraft','Ship'}, markas='Hostile'})
Not works, why?
Thanks in advance
RE: ScenEdit_AddZone and ScenEdit_RemoveZone fails
Posted: Mon Apr 05, 2021 2:51 pm
by Bandura1
Ok, remove solved
Example:
ScenEdit_RemoveZone ('A', 0, {Description='Zone 1'})
but AddZone not yet.
RE: ScenEdit_AddZone and ScenEdit_RemoveZone fails
Posted: Mon Apr 05, 2021 6:51 pm
by boogabooga
Could you provide a scenario where you are trying to apply this? are you sure the the side, the zone, etc. all exist?
RE: ScenEdit_AddZone and ScenEdit_RemoveZone fails
Posted: Mon Apr 05, 2021 8:43 pm
by KnightHawk75
Define not work? Is the zone not added or are you getting duplicate RP's when it is added. Unless it's something specific to exclusions (which I doubt from the example) see ...
fb.asp?m=4962895
RE: ScenEdit_AddZone and ScenEdit_RemoveZone fails
Posted: Tue Apr 06, 2021 2:00 pm
by Bandura1
¡Solved!
Thanks [;)]