Page 1 of 1

Error in ScenEdit_ExportInst function

Posted: Fri Dec 06, 2024 7:18 am
by d3n3m3
Hello everyone,

While I'm running ScenEdit_ExportInst function in CMO lua editor I got an error: ScenEdit_ExportInst 0: ,no filename key defined.

I tried various of scripts but I could not run successfully. Other functions can run properly. In official website there is an example script:
ScenEdit_ExportInst('Russia', {'c1a0e312-9ccc-43d1-9e6c-01899c8433d9'}, {filename='ssbn_patrol.inst',name='SSBN on Patrol',comment='Russian SSBN on patrol in Barents'})
I tried this one also but did not work. Error says filename key not defined but I defined it as in example. How can I solve this problem? My CMO version is 1.06 - Build v1328.14 and Lua version is 5.4

I need help to solve this. Thanks in advance

Re: Error in ScenEdit_ExportInst function

Posted: Fri Dec 20, 2024 9:04 am
by blu3s
Please update to the latest version, I have no problems with the function