coolum001
Posts: 7
Joined: 8/3/2017 Status: offline
|
Well, I'm a CMANO newbie with a software engineering background, so to me any CMANO problem is a nail asking to be hit with a Lua for-loop hammer :) Seriously, my thought was that automatic creation and placement of radar facilities with Lua, meant that it would be easier to edit the Lua text files: - to use a different generic facility from the database (that better matches the real-world capabilities) in the future; - to adjust the orientation for each facility; - to set the side for each facility - to rename the facilities comparing to using the map User Interface after an import. As to what the Lua does: For each radar in my table of radars, I call ScenEdit_AddUnit({type = 'Facility', ...) to create the radar, and then call ScenEdit_SetEMCON('Unit', OzRadars[i].name, ...) to set it to be active. Cheers
|