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:
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.4ScenEdit_ExportInst('Russia', {'c1a0e312-9ccc-43d1-9e6c-01899c8433d9'}, {filename='ssbn_patrol.inst',name='SSBN on Patrol',comment='Russian SSBN on patrol in Barents'})
I need help to solve this. Thanks in advance