lua and alert level

All discussions & material related to Command's Lua interface

Moderators: RoryAndersonCDT, michaelm75au, angster, MOD_Command

Post Reply
thewood1
Posts: 9106
Joined: Sun Nov 27, 2005 6:24 pm
Location: Boston

lua and alert level

Post by thewood1 »

I noted "ScenEdit_SetSideEmconAlertness()" listing in the github. The info is kind of sparse. Does anyone have any info on how its used.
User avatar
kevinkins
Posts: 2465
Joined: Wed Mar 08, 2006 11:54 am

Re: lua and alert level

Post by kevinkins »

Not a big help as it might be common knowledge now, but it looks like you need to own Pro to open the link explaining the function. Maybe you can get some sort of explanation on its use from the developers. From the Command Lua documentation...

Command: Professional Edition
Functions listed below are only available in Command: Professional Edition

ScenEdit_SetSideEmconAlertness() PRO ONLY
“The study of history lies at the foundation of all sound military conclusions and practice.”
Alfred Thayer Mahan
thewood1
Posts: 9106
Joined: Sun Nov 27, 2005 6:24 pm
Location: Boston

Re: lua and alert level

Post by thewood1 »

OK. Well, on github, which I thought was the more authoritative source, this is what I see...
Screenshot 2022-07-21 092410.jpg
Screenshot 2022-07-21 092410.jpg (35.95 KiB) Viewed 876 times
It could be just an oversight on github.
thewood1
Posts: 9106
Joined: Sun Nov 27, 2005 6:24 pm
Location: Boston

Re: lua and alert level

Post by thewood1 »

And one level up, its explicitly not listed under the pro heading...
Screenshot 2022-07-21 092549.jpg
Screenshot 2022-07-21 092549.jpg (112.16 KiB) Viewed 874 times
I'll see if anyone steps in to clarify.
User avatar
Gizzmoe
Posts: 396
Joined: Wed Aug 24, 2005 5:36 am
Location: Germany

Re: lua and alert level

Post by Gizzmoe »

I just checked, they seem to have put that option back to Pro-Only?!? Weird.
Attachments
Clipboard01.png
Clipboard01.png (133.94 KiB) Viewed 852 times
thewood1
Posts: 9106
Joined: Sun Nov 27, 2005 6:24 pm
Location: Boston

Re: lua and alert level

Post by thewood1 »

Can't take the time answer the question, but can take the time and change it up and hope no one notices.

Just another note of frustration...functions for commercial and Pro seem to be somewhat dynamic. This is the 3rd or 4th function that seems to have made the switch over time.
User avatar
Gizzmoe
Posts: 396
Joined: Wed Aug 24, 2005 5:36 am
Location: Germany

Re: lua and alert level

Post by Gizzmoe »

thewood1 wrote: Thu Jul 21, 2022 11:13 pm Can't take the time answer the question, but can take the time and change it up and hope no one notices.
Heh :lol: Well, hopefully they just changed back the page just because the forgot to add it to CMO in this build and it comes later... To state the fucking obvious, anything else wouldn't make sense, Alertness had been added to CMO after all, why leave out the lua part..
User avatar
michaelm75au
Posts: 12455
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

Re: lua and alert level

Post by michaelm75au »

I am slowly building up the Lua pages for the items that were PRO.
This is going a bit slower than I wanted, but I can only work on it for a few hours a day.

Note I am only updating the new pages which will become the standard link soon.
http://commandlua.github.io/index2.html
Michael
thewood1
Posts: 9106
Joined: Sun Nov 27, 2005 6:24 pm
Location: Boston

Re: lua and alert level

Post by thewood1 »

I understand the workload issue. But its seems very odd to have the question asked here and then within a very short time its changed on the page with no response here. I would expect a response to the question before the change not days after.
User avatar
michaelm75au
Posts: 12455
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

Re: lua and alert level

Post by michaelm75au »

It wasn't changed.
Your image was from the new docs link, while the other is from the old docs link.

There are only about 12 items still PRO only under the latest 'tiny' builds
Michael
User avatar
michaelm75au
Posts: 12455
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

Re: lua and alert level

Post by michaelm75au »

I have finished updating these Emission functions today.
http://commandlua.github.io/index2.html
Michael
KnightHawk75
Posts: 1850
Joined: Thu Nov 15, 2018 7:24 pm

Re: lua and alert level

Post by KnightHawk75 »

michaelm75au wrote: Mon Jul 25, 2022 7:03 am I have finished updating these Emission functions today.
http://commandlua.github.io/index2.html
Nice! I do kinda miss the alphabetical function listing, even so, I think the general category listing change going to be more user friendly to a majority. Probably more my eye memory just needing to adjust over time.
thewood1
Posts: 9106
Joined: Sun Nov 27, 2005 6:24 pm
Location: Boston

Re: lua and alert level

Post by thewood1 »

I am assuming the doctrine export/import function is staying pro...
User avatar
michaelm75au
Posts: 12455
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

Re: lua and alert level

Post by michaelm75au »

thewood1 wrote: Tue Jul 26, 2022 12:04 pm I am assuming the doctrine export/import function is staying pro...
Affirmative.
Michael
User avatar
michaelm75au
Posts: 12455
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

Re: lua and alert level

Post by michaelm75au »

KnightHawk75 wrote: Tue Jul 26, 2022 10:23 am
michaelm75au wrote: Mon Jul 25, 2022 7:03 am I have finished updating these Emission functions today.
http://commandlua.github.io/index2.html
Nice! I do kinda miss the alphabetical function listing, even so, I think the general category listing change going to be more user friendly to a majority. Probably more my eye memory just needing to adjust over time.
I am also going to probably add a single liner to the listing so when you hover over the function, it will show a message for the 'not so obvious' function names. :D
Michael
Post Reply

Return to “Lua Legion”