Zone type for Custom zone in ScenEdit_AddZone (sideName, zoneType, table)

All discussions & material related to Command's Lua interface

Moderators: RoryAndersonCDT, michaelm75au, angster, MOD_Command

Post Reply
BDukes
Posts: 2577
Joined: Wed Dec 27, 2017 12:59 pm

Zone type for Custom zone in ScenEdit_AddZone (sideName, zoneType, table)

Post by BDukes »

Hi All

Ok if you're not there yet but what is the zone type number for ScenEdit_AddZone (sideName, zoneType, table). 3?

Tnx
Mike
Don't call it a comeback...
User avatar
blu3s
Posts: 625
Joined: Fri Jul 08, 2022 9:45 am

Re: Zone type for Custom zone in ScenEdit_AddZone (sideName, zoneType, table)

Post by blu3s »

Hi Mike, in the Lua Doc If the type of the parameter is in white, you can hover the cursor over it to display the values it accepts.
Captura1.PNG
Captura1.PNG (4.78 KiB) Viewed 581 times
variablefoobar
Posts: 1
Joined: Wed Feb 22, 2023 4:30 pm

Re: Zone type for Custom zone in ScenEdit_AddZone (sideName, zoneType, table)

Post by variablefoobar »

Is it possible to add a generic zone (i.e., the "zone" tab on the "Area & Reference Points Manager" window)?

If you can add a generic zone, can you set the color?
KnightHawk75
Posts: 1850
Joined: Thu Nov 15, 2018 7:24 pm

Re: Zone type for Custom zone in ScenEdit_AddZone (sideName, zoneType, table)

Post by KnightHawk75 »

variablefoobar wrote: Wed Feb 22, 2023 4:33 pm Is it possible to add a generic zone (i.e., the "zone" tab on the "Area & Reference Points Manager" window)?

If you can add a generic zone, can you set the color?
Think you can.. buried in one of the release notes somewhere I recall a special number code being mentioned like -973 or something... but then again that might have been for zone type conversion, not sure if it made the docs though. I'm might have to go digging on this one unless someone knows off hand.
Parel803
Posts: 889
Joined: Thu Oct 10, 2019 3:39 pm
Location: Netherlands

Re: Zone type for Custom zone in ScenEdit_AddZone (sideName, zoneType, table)

Post by Parel803 »

Good evening,

Was just wondering if it should be possible to add a generic zone? I did not get it to work.

best regards GJ
Parel803
Posts: 889
Joined: Thu Oct 10, 2019 3:39 pm
Location: Netherlands

Re: Zone type for Custom zone in ScenEdit_AddZone (sideName, zoneType, table)

Post by Parel803 »

Good afternoon,

Thx Blu3s. It is -925
Just in case someone else like to use it

regards GJ
Post Reply

Return to “Lua Legion”