main()
{
			
	maps\mp\_load::main();
	//maps\mp\mp_dd_bitter_fx::main();
	//maps\createfx\mp_dd_bitter_fx::main();
   maps\mp\_compass::setupMiniMap("compass_map_mp_dd_bitter");


	game["allies"] = "sas";
	game["axis"] = "russian";
	game["attackers"] = "axis";
	game["defenders"] = "allies";
	game["allies_soldiertype"] = "woodland";
	game["axis_soldiertype"] = "woodland";

thread train_slider (); 
} 

train_slider() 
{ 
    train = getentarray( "train", "targetname"); 
    trig  = getent( "traintrig", "targetname"); 

    while(true) 
    { 
        //trig waittill ("trigger"); 
        //wait 4; 
        for ( i = 0 ; i < train.size ; i ++ )
            train[ i ] thread trainmovey( -3580, 30, 10, 10, "train1_movedone" );

        level waittill( "train1_movedone" );
        wait 4; 
        //trig waittill ("trigger"); 
        for ( i = 0 ; i < train.size ; i ++ )
            train[ i ] thread trainmovey( 3580, 30, 3, 6, "train1_movedone_back" );

        level waittill( "train1_movedone_back" );
    } 
}

trainmovey( point, time, accel_time, decel_time, string )
{
    self movey( point, time, accel_time, decel_time );
    self waittill ("movedone"); 
    level notify( string );
}