_selectLine = _this select 0;

switch (_selectLine) do
{
    case "1":
    {
        _str1 = parseText format ["<t color='#ff6347' size='1.5'>WELCOME TO <br/>
	</t> <t color='#ff6347' size='1'>Coast Guard Sea Rescue Mission <br/> <br/> </t> 
	In this mission, you will see how the scripts are working.<br/><br/>Firstly get in the Coast Guard Helicopter as Pilot" ];
	hint _str1;

		
	
    };

    case "2":
    {
	

       	_str1 = parseText format ["<t color='#ff6347' size='1.2'> Get Ready For Takeoff <br/> <br/>
	</t> We have a rescue call from a vessel on fire. <br/> <br/> There is 1 Person on board and he abandoned ship." ];
	hint _str1;

	sleep 10;

	_str2 = parseText format ["<t color='#ff6347' size='1.2'> Cleared For Takeoff <br/> <br/>
	</t> Your crew ready and you are cleared for takeoff. <br/> <br/> Rescue call coming from Grid: 010-020.<br/> Move there ASAP  " ];
	hint _str2;
	
    };

    case "3":
    {
	_str1 = parseText format ["<t color='#ff6347' size='1.2'> Slow Down! <br/> <br/>
	</t> You are approaching to destination." ];
	hint _str1;

	sleep 10;

	_str2 = parseText format ["<t color='#ff6347' size='1.2'> Get Ready for Rescue <br/> <br/>
	</t> Hover over survivor and make sure your altitude between 5m and 10m<br/> <br/>Use your action menu (mouse wheel) to access commands." ];
	hint _str2;
	

    };

case "4":
    {
	_str1 = parseText format ["<t color='#ff6347' size='1.2'> Well Done <br/> <br/>
	</t> Now go back to landing zone." ];
	hint _str1;

	

    };

case "5":
    {
	_str1 = parseText format ["<t color='#ff6347' size='1.2'> Congratulations! <br/> <br/>
	</t> You have completed mission." ];
	hint _str1;
	endmis = true;	
	
    };
};