| BeirutDude 
 
 Posts:  2625
 Joined:  4/27/2013
 From:  Jacksonville, FL, USA
 Status: offline
   | quote:
 are you familiar with what that coding would be? I am not a programmer, and have made a few attempts at inserting lua coding into practice scenarios....and watching YouTube, but it's nothing I am even close to being proficient at.
 
 
 Sure, it's actually an easy pre-written scripts (which is about my ability as well)...
 ScenEdit_AddUnit(table)
 
 Now the table gets a bit tricky...
 
 {type = 'Facility (or Ship, or Submarine, etc)', name = 'Unit_Name_You_Want', heading = 150 (in degrees), dbid = 884 (must get this right for the units looking in the database, might have to play some to get it right as it's tricky), side = 'Side_Name', latitude='12.055086', longitude='-61.743581' (remember the "-" sign for Southern Hemisphere and Western Hemisphere)}
 
 These will insert SEAL Teams in Grenada (you can create a " United States " side in a sandbox scenario and run them in the Lua Script Console under Editor...
 ScenEdit_AddUnit({type = 'Facility', name = 'SEAL TEAM 2', heading = 150, dbid = 884, side = 'United States', latitude='12.055086', longitude='-61.743581'})
 ScenEdit_AddUnit({type = 'Facility', name = 'SEAL TEAM 6-A', heading = 090, dbid = 884, side = 'United States', latitude='12.018824', longitude='-61.771758'})
 ScenEdit_AddUnit({type = 'Facility', name = 'SEAL TEAM 6-B', heading = 090, dbid = 884, side = 'United States', latitude='12.019561', longitude='-61.771675'})
 
 Hope this helps!
 
 Al
 
 < Message edited by BeirutDude -- 12/30/2021 7:00:28 PM  >
 
 _____________________________
 
 
  "Some people spend an entire lifetime wondering if they made a difference. The Marines don't have that problem." PRESIDENT RONALD REAGAN, 1985
 
 I was Navy, but Assigned TAD to the 24th MAU Hq in Beirut. By far the finest period of my service!
 |