(
"ai_training_modified",mtf_battle_mode,-1,
"You start training.",
[
(0,mtef_scene_source|mtef_team_0,af_override_all,aif_start_alarmed,1,[]),
(1,mtef_scene_source|mtef_team_1,af_override_all,aif_start_alarmed,1,[]),
(2,mtef_visitor_source|mtef_team_1,af_override_horse,aif_start_alarmed,1,[]),
(3,mtef_visitor_source|mtef_team_1,af_override_horse,aif_start_alarmed,1,[]),
(4,mtef_visitor_source|mtef_team_1,af_override_horse,aif_start_alarmed,1,[]),
(5,mtef_visitor_source|mtef_team_1,af_override_horse,aif_start_alarmed,1,[]),
(6,mtef_visitor_source|mtef_team_1,af_override_horse,aif_start_alarmed,1,[]),
(7,mtef_visitor_source|mtef_team_1,af_override_horse,aif_start_alarmed,1,[]),
(8,mtef_visitor_source|mtef_team_1,af_override_horse,aif_start_alarmed,1,[]),
(9,mtef_visitor_source|mtef_team_1,af_override_horse,aif_start_alarmed,1,[]),
(10,mtef_visitor_source|mtef_team_1,af_override_horse,aif_start_alarmed,1,[]),
(11,mtef_visitor_source|mtef_team_1,af_override_horse,aif_start_alarmed,1,[]),
(12,mtef_visitor_source|mtef_team_1,af_override_horse,aif_start_alarmed,1,[]),
(13,mtef_visitor_source|mtef_team_1,af_override_horse,aif_start_alarmed,1,[]),
(14,mtef_visitor_source|mtef_team_1,af_override_horse,aif_start_alarmed,1,[]),
(15,mtef_visitor_source|mtef_team_1,af_override_horse,aif_start_alarmed,1,[]),
(16,mtef_visitor_source|mtef_team_1,af_override_horse,aif_start_alarmed,1,[]),
(17,mtef_visitor_source|mtef_team_1,af_override_horse,aif_start_alarmed,1,[]),
(18,mtef_visitor_source|mtef_team_1,af_override_horse,aif_start_alarmed,1,[]),
(19,mtef_visitor_source|mtef_team_1,af_override_horse,aif_start_alarmed,1,[]),
(20,mtef_visitor_source|mtef_team_1,af_override_horse,aif_start_alarmed,1,[]),
(21,mtef_visitor_source|mtef_team_1,af_override_horse,aif_start_alarmed,1,[]),
(22,mtef_visitor_source|mtef_team_1,af_override_horse,aif_start_alarmed,1,[]),
(23,mtef_visitor_source|mtef_team_1,af_override_horse,aif_start_alarmed,1,[]),
(24,mtef_visitor_source|mtef_team_1,af_override_horse,aif_start_alarmed,1,[]),
(25,mtef_visitor_source|mtef_team_1,af_override_horse,aif_start_alarmed,1,[]),
(26,mtef_visitor_source|mtef_team_1,af_override_horse,aif_start_alarmed,1,[]),
(27,mtef_visitor_source|mtef_team_1,af_override_horse,aif_start_alarmed,1,[]),
(28,mtef_visitor_source|mtef_team_1,af_override_horse,aif_start_alarmed,1,[]),
],
[
(ti_before_mission_start, 0, 0, [], [
(store_current_scene, ":cur_scene"),
(try_begin),
(eq,":cur_scene","scn_mod_test_map_1"),
(set_fog_distance, 10, 0xFF000000),
(else_try),
(eq,":cur_scene","scn_mod_test_map_2"),
(set_fog_distance, 10, 0xFFFF0000),
(else_try),
(eq,":cur_scene","scn_mod_test_map_3"),
(set_fog_distance, 10, 0xFFFFFF00),
(try_end),
(mission_disable_talk),
(display_message,"@test 1",0x0000FF00),
]),
(ti_on_agent_spawn, 0, 0, [],
[
(store_trigger_param_1, ":agent_no"),
(agent_get_troop_id, ":troop_no", ":agent_no"),
(try_begin),
(eq, ":troop_no", "trp_player"),
(agent_set_no_death_knock_down_only, ":agent_no", 1),
(try_end),
]),
(0, 0, 1, [], [
#(team_set_relation, 1, 0, -1),
(try_for_agents, ":agent"),
(agent_is_alive, ":agent"),
(agent_is_human, ":agent"),
(try_begin),
(agent_is_non_player, ":agent"),
(agent_get_position,pos12,":agent"),
(agent_set_team,":agent",1),
(set_show_messages, 0),
(team_give_order, 1, grc_everyone, mordr_hold),
(set_show_messages, 1),
(team_set_order_position, 1, grc_everyone, pos12),
(else_try),
(agent_get_position,pos11,":agent"),
(agent_set_team,":agent",0),
(try_end),
(get_distance_between_positions_in_meters, ":dist", pos11, pos12),
(try_begin),
(le, ":dist", 2),
(display_message,"@test 2",0x0000FF00),
(particle_system_burst, "psys_roket_yanma_1", pos12, 75),
(set_show_messages, 0),
(team_give_order, 1, grc_everyone, mordr_charge),
(set_show_messages, 1),
(agent_force_rethink, ":agent"),
(try_end),
(try_end),
]),
(ti_on_agent_knocked_down, 0, 0, [],
[
(get_player_agent_no, ":player_agent"),
(agent_set_hit_points, ":player_agent", 100),
(entry_point_get_position, pos10, 0),
(agent_set_position, ":player_agent", pos10),
]),
(ti_tab_pressed, 0, 0, [],
[(finish_mission,0)]),
common_battle_order_panel,
common_battle_order_panel_tick,
],
),