Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

ScenEdit_AddZone and ScenEdit_RemoveZone fails

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios >> Lua Legion >> ScenEdit_AddZone and ScenEdit_RemoveZone fails Page: [1]
Login
Message << Older Topic   Newer Topic >>
ScenEdit_AddZone and ScenEdit_RemoveZone fails - 4/5/2021 4:07:17 PM   
Bandura1

 

Posts: 31
Joined: 12/11/2016
Status: offline
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
Post #: 1
RE: ScenEdit_AddZone and ScenEdit_RemoveZone fails - 4/5/2021 5:51:37 PM   
Bandura1

 

Posts: 31
Joined: 12/11/2016
Status: offline
Ok, remove solved

Example:

ScenEdit_RemoveZone ('A', 0, {Description='Zone 1'})

but AddZone not yet.

(in reply to Bandura1)
Post #: 2
RE: ScenEdit_AddZone and ScenEdit_RemoveZone fails - 4/5/2021 9:51:49 PM   
boogabooga

 

Posts: 457
Joined: 7/18/2018
Status: offline
Could you provide a scenario where you are trying to apply this? are you sure the the side, the zone, etc. all exist?

(in reply to Bandura1)
Post #: 3
RE: ScenEdit_AddZone and ScenEdit_RemoveZone fails - 4/5/2021 11:43:21 PM   
KnightHawk75

 

Posts: 1450
Joined: 11/15/2018
Status: offline
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 ...
http://www.matrixgames.com/forums/fb.asp?m=4962895

(in reply to boogabooga)
Post #: 4
RE: ScenEdit_AddZone and ScenEdit_RemoveZone fails - 4/6/2021 5:00:35 PM   
Bandura1

 

Posts: 31
Joined: 12/11/2016
Status: offline
¡Solved!

Thanks

(in reply to KnightHawk75)
Post #: 5
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios >> Lua Legion >> ScenEdit_AddZone and ScenEdit_RemoveZone fails Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

1.279