"HUMAN_LIGHT_INF_GRILL"
{
	INT my_unit_recno 
	INT enemy_recno

	INT is_getting_weapon
	INT dist_to_weapon_a
	INT camp_place_recno 

	my_unit_recno = FUNC("get_character_recno") 

	INT random_number 
	random_number = FUNC("random_number" , 10)

	INT item_recno
	item_recno = FUNC("get_curr_task_para" , my_unit_recno, 1)

	is_getting_weapon = FUNC("is_getting_weapon", my_unit_recno)
	camp_place_recno = FUNC("search_place_by_name", "English Camp") 

	if(is_getting_weapon)
	{
		// distance to weapon site a and site b
		dist_to_weapon_a = FUNC("get_distance", my_unit_recno, 23832, 6995, -90 )

		// get weapon	
		if(dist_to_weapon_a < 80)
		{
			ACTION("give_order" , my_unit_recno , "SPECIAL_MOVEMENT" , 20 , 0 , 5 , 0 , 1, 0, 10000)
			FUNC("set_getting_weapon_flag", my_unit_recno, 0)		
			FUNC("get_default_weapon" , my_unit_recno) 	
			FUNC("stop_curr_task" , my_unit_recno) 	
//			ACTION("give_task", my_unit_recno, "DEFEND_PLACE", 1, camp_place_recno, 0, 0, 0)
			exit
		}

		// run get weapon
		ACTION("give_order", my_unit_recno, "MOVE_TO_TARGET", 10, 0, 23832, 6995, -90, 0, 10000)	
		exit
	}	


	if( FUNC("get_scenario_bit_flag", 1) || FUNC("get_scenario_bit_flag", 2) )
	{
		//ACTION("give_order" , my_unit_recno , "SPECIAL_MOVEMENT" , 99 , 0 , 1 , 0 , 1 , 0, 40000)
		// get weapon
		FUNC("set_getting_weapon_flag", my_unit_recno, 1)		

		// stop all current order first
		ACTION("stop_all_order", my_unit_recno) 
		exit
	}

	if( enemy_recno == 0 && random_number == 0 ) // 1/5 chance will grill
	{
		ACTION("give_order" , my_unit_recno , "SPECIAL_MOVEMENT" , 3 , 0 , 1 , item_recno , 1 , 0, 40000)
	}

}
