Using the LUA console (Full Version)

All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series



Message


Ed49601 -> Using the LUA console (3/22/2020 1:31:13 PM)

Is there a tutorial or help pages on how to use the LUA for creating scenarios? I am a newby at this and have so many ideas for scenarios that I would like to create.




Parel803 -> RE: Using the LUA console (3/22/2020 1:37:47 PM)

Maybe this help, newby myself
https://commandlua.github.io/
https://www.matrixgames.com/forums/tm.asp?m=3745517
https://www.matrixgames.com/forums/tm.asp?m=3784722
https://www.matrixgames.com/forums/tt.asp?forumid=1681

with regards




KLAB -> RE: Using the LUA console (3/22/2020 1:39:25 PM)

https://www.matrixgames.com/forums/tt.asp?forumid=1681
Follow this link.
Extensive LUA guidance tutorials etc.
Enjoy.
K




exsonic01 -> RE: Using the LUA console (3/22/2020 2:56:14 PM)

I was also about to ask this, thanks for links.




Ed49601 -> RE: Using the LUA console (3/23/2020 7:09:12 PM)

Ok, I see those sites. I can't seem to find commands specifically for CMO.




thewood1 -> RE: Using the LUA console (3/23/2020 7:22:07 PM)

Lua is a scripting language. Its not a CMO language. CMO uses it and a set of Lua functions the devs built to execute Lua with some specific CMO capabilities. You should watch a couple of the Lua tutorials to familiarize yourself with things like function calling, variable creation, etc.

But you can also execute simple Lua functions through the Lua console. For that, I would use the CMO/CMNAO documentation and examples.

This is a good place to start.

https://www.matrixgames.com/forums/tm.asp?m=4435326




TitaniumTrout -> RE: Using the LUA console (3/23/2020 8:28:44 PM)

Check the wiki too : https://weaponsrelease.com/index.php/CMO_Main_Page#Editor

You can also open a scenario in the editor and see how the creator did it. Whenever I run into something neat or clever I always like to see how it was done.




SeaQueen -> RE: Using the LUA console (3/23/2020 8:43:46 PM)

There's the Command LUA functions and then there's the LUA language itself. Most people start off just doing simple things using Command's LUA functions, and become more and more sophisticated as the need arises.




michaelm75au -> RE: Using the LUA console (3/24/2020 12:45:27 AM)

Use the SE commands (with the Command Lua WIKI for the description of it) from the drop-down list to get a feel for the various functions with just base Lua commands (like print, if..then..else, etc).




bearhunter007 -> RE: Using the LUA console (3/24/2020 4:47:28 PM)

Ed49601

The "Lua Legion" is a great resource for developing your command lua skills. Apache85 has lots of code segments that you can copy and use and/or modify for your purposes.

Good luck!





Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.984375