Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Add Radar Facility via LUA

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios >> Lua Legion >> Add Radar Facility via LUA Page: [1]
Login
Message << Older Topic   Newer Topic >>
Add Radar Facility via LUA - 6/29/2019 1:16:41 PM   
tmoilanen

 

Posts: 72
Joined: 10/19/2011
Status: offline
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'})
Post #: 1
RE: Add Radar Facility via LUA - 6/29/2019 1:32:44 PM   
tmoilanen

 

Posts: 72
Joined: 10/19/2011
Status: offline
Disregard...I had my latitude and longitude flipped and was trying to put a land facility in the middle of the Indian Ocean

(in reply to tmoilanen)
Post #: 2
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios >> Lua Legion >> Add Radar Facility via LUA Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

1.594