ScenEdit AddShip
From Baloogan Campaign Wiki
<syntaxhighlight lang="lua"> ScenEdit_AddShip('[Side Name or ID]', '[Ship Name]', [DBID], ['DEC' or 'DEG'], ['Latitude'], ['Longitude'])
--Random ship, with 3 choices. a = math.random(1,3) if a == 1 then
ScenEdit_AddShip('Blue', 'Boat', 745, 'DEC', '23.1', '-40.2')
elseif a == 2 then
ScenEdit_AddShip('Blue', 'Boat', 907, 'DEC', '23.1', '-40.2')
elseif a == 3 then
ScenEdit_AddShip('Blue', 'Boat', 452, 'DEC', '23.1', '-40.2')
end </syntaxhighlight>