Add Radar Facility via LUA
Posted: Sat Jun 29, 2019 10:16 am
Hello - I'm trying to add radar facilities to a scenario via LUA, and when I run the command below I get the error "ScenEdit_AddUnit() : Unable to create the new unit"
I'm not sure what I'm missing...any help would be appreciated.
ScenEdit_AddUnit({type = 'Facility', unitname = 'RRH Benbecula', dbid = 1349, side = "NATO", long = '57.6', lat = '-7.333'})
I'm not sure what I'm missing...any help would be appreciated.
ScenEdit_AddUnit({type = 'Facility', unitname = 'RRH Benbecula', dbid = 1349, side = "NATO", long = '57.6', lat = '-7.333'})