We established that the triggers the user writes in the Trigger Editor will simply be concatenated together and placed in the war3map.j file. However, there are other sections that need to be generated, like:
function config takes nothing returns nothing
call SetMapName( "TRIGSTR_001" )
call SetMapDescription( "TRIGSTR_003" )
call SetPlayers( 1 )
call SetTeams( 1 )
call SetGamePlacement( MAP_PLACEMENT_USE_MAP_SETTINGS )
call DefineStartLocation( 0, 2368.0, 256.0 )
// Player setup
call InitCustomPlayerSlots( )
call SetPlayerSlotAvailable( Player(0), MAP_CONTROL_USER )
call InitGenericPlayerSlots( )
endfunction
Some of these sections are obviously very straightforward, but I want to make sure we don't miss anything. Can you comment on any JASS oddities or things we need to be careful about?