Page 1 of 1
LUA Resources
Posted: Fri Jan 16, 2015 10:46 am
by mikmykWS
RE: LUA Resources
Posted: Sun Feb 15, 2015 3:52 pm
by tjhkkr
.
RE: LUA Resources
Posted: Sat Sep 05, 2015 1:57 pm
by z1812
Thanks for your replys.
RE: LUA Resources
Posted: Sun May 03, 2020 4:49 pm
by KnightHawk75
Video Tutorials related to LUA and Event system:
TitaniumTrout's videos on Event sub system
fb.asp?m=4807164
Whicker's Lua basics tutorial and examples
fb.asp?m=4583374
Re: LUA Resources
Posted: Fri Apr 29, 2022 11:43 am
by thewood1
I have found this a useful repository. I think a focus on expanding this repository would be a very good thing for new and middling users of CMO's lua capability.
https://wiki.weaponsrelease.com/index.p ... Repository
I have used a number of these in things I have been building.
Re: LUA Resources
Posted: Thu Jun 08, 2023 6:56 pm
by blu3s
I made a small guide on how to set up a scenario to start using Lua in it. I leave it here in case someone might find it useful. Any suggestion don't hesitate to tell me
Lua Scen Setup
I also take this opportunity to share this github where, among other things, lua code snippets are uploaded.
https://github.com/GrandStrategos/Command_Resources
Re: LUA Resources
Posted: Thu Jun 08, 2023 7:49 pm
by Parel803
Thank you
ragards GJ
Re: LUA Resources
Posted: Fri Oct 20, 2023 4:18 pm
by blu3s
I have uploaded a function that I use a lot when I create scenarios with Lua. It is TimeEvent and as the name suggests, it creates/modifies/deletes a Time Event in CMO with a time trigger and a lua action. You can see it here:
https://github.com/GrandStrategos/Comma ... eEvent.lua
And an example of use with some radars turning ON/OFF at different times can be found here:
https://github.com/GrandStrategos/Comma ... rEMCON.lua
Re: LUA Resources
Posted: Sat Oct 21, 2023 11:27 am
by Parel803
nice, thanks for sharing
regards GJ
Re: LUA Resources
Posted: Tue Sep 17, 2024 7:00 am
by blu3s
I have written a couple of tutorials on how to take advantage of the new web engine in the beta as a scenario designer
The first is to create your own mailbox. In this way, the player will have access to all messages sent to him during the course of the scenario.
https://github.com/blu3ser/LuaTutorials ... dow%20HTML
The second one is a AirOps status that just display some info about your Air Units. You can filter by units or by missions.
https://github.com/blu3ser/LuaTutorial ... dow%20HTML
The flexibility with the new web engine is huge and I hope it will allow us to do cool things in new design scenarios!