<syntaxhighlight lang="lua"> ScenEdit_AddSubmarine('[Side Name or ID]', '[Sub Name]', [DBID], ['DEC' or 'DEG'], ['Latitude'], ['Longitude']) </syntaxhighlight>