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