How can I use ChangeMissionStatus via LUA
Posted: Thu Dec 19, 2024 1:20 pm
Hi,
I'm totally noob on lua scripting.
To simulate the player side requesting an AI allied side to launch pre-programmed and inactive missions I would like to change some missions status via special action event that would use LUA script. I found ChangeMissionStatus in ScenEdit_SetAction( { table } ) here https://commandlua.github.io/index2.html#EventHandling
but I don't know how to write properly the syntax and needed variables.
Dou you know some existing examples I could learn from, or show me how to write properly the code
?
I'm totally noob on lua scripting.
To simulate the player side requesting an AI allied side to launch pre-programmed and inactive missions I would like to change some missions status via special action event that would use LUA script. I found ChangeMissionStatus in ScenEdit_SetAction( { table } ) here https://commandlua.github.io/index2.html#EventHandling
but I don't know how to write properly the syntax and needed variables.
Dou you know some existing examples I could learn from, or show me how to write properly the code

