SHARE
TWEET

Untitled

a guest Dec 3rd, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (else_try), #King_George Peninsular War 1807–1814
  2.         (this_or_next|eq, ":cur_scene", "scn_mp_custom_map_1"),
  3.         (this_or_next|eq, ":cur_scene", "scn_mp_custom_map_2"),
  4.         (this_or_next|eq, ":cur_scene", "scn_mp_custom_map_3"),
  5.         (this_or_next|eq, ":cur_scene", "scn_mp_custom_map_4"),
  6.         (this_or_next|eq, ":cur_scene", "scn_mp_custom_map_5"),
  7.         (this_or_next|eq, ":cur_scene", "scn_mp_custom_map_22"),
  8.         (this_or_next|eq, ":cur_scene", "scn_mp_custom_map_23"),
  9.         (this_or_next|eq, ":cur_scene", "scn_mp_custom_map_24"),
  10.         (this_or_next|eq, ":cur_scene", "scn_mp_custom_map_25"),
  11.         (this_or_next|eq, ":cur_scene", "scn_mp_custom_map_26"),
  12.         (this_or_next|eq, ":cur_scene", "scn_mp_custom_map_27"),
  13.         (this_or_next|eq, ":cur_scene", "scn_mp_custom_map_28"),
  14.         (this_or_next|eq, ":cur_scene", "scn_mp_custom_map_29"),
  15.         (this_or_next|eq, ":cur_scene", "scn_mp_custom_map_30"),
  16.         (eq, ":cur_scene", "scn_mp_custom_map_31"), #is it custom map 1-5, 22-31
  17.       (store_trigger_param_1, ":agent_id"),
  18.      
  19.       (agent_is_active,":agent_id"),
  20.       (agent_is_alive,":agent_id"),
  21.       (agent_get_troop_id,":troop_id",":agent_id"),
  22.      
  23.       (try_begin),
  24.       (eq,":troop_id","trp_british_infantry"),
  25.         (agent_equip_item,":agent_id","itm_british_coldstream_pants"),
  26.        
  27.         (try_for_range, ":player_no", 1, multiplayer_player_loops_end), #0 is server so starting from 1
  28.             (player_is_active, ":player_no"),
  29.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_british_coldstream_pants", 7),#last int is uniform part, e.g. 4 is head, 3 is body, etc.
  30.         (try_end),
  31.        
  32.         (else_try),
  33.         (eq,":troop_id","trp_british_infantry_nco"),
  34.         (agent_equip_item,":agent_id","itm_cane_melee"),
  35.         (agent_equip_item,":agent_id","itm_russian_peasant_pike"),
  36.         (agent_equip_item,":agent_id","itm_british_captain_legs"),
  37.        
  38.        (try_for_range, ":player_no", 1, multiplayer_player_loops_end), #0 is server so starting from 1
  39.             (player_is_active, ":player_no"),
  40.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_british_captain_legs", 7),#last int is uniform part, e.g. 4 is head, 3 is body, etc.
  41.         (try_end),
  42.        
  43.         (else_try),
  44.         (eq,":troop_id","trp_british_infantry_officer"),
  45.         (agent_equip_item,":agent_id","itm_british_captain_hat"),
  46.         (agent_equip_item,":agent_id","itm_british_captain_legs"),
  47.        
  48.        (try_for_range, ":player_no", 1, multiplayer_player_loops_end), #0 is server so starting from 1
  49.             (player_is_active, ":player_no"),
  50.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_british_captain_hat", 4),#last int is uniform part, e.g. 4 is head, 3 is body, etc.
  51.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_british_captain_legs", 7),
  52.         (try_end),
  53.        
  54.         (else_try),
  55.         (eq,":troop_id","trp_british_infantry_drum"),
  56.         (agent_equip_item,":agent_id","itm_british_coldstream_pants"),
  57.        
  58.         (try_for_range, ":player_no", 1, multiplayer_player_loops_end), #0 is server so starting from 1
  59.             (player_is_active, ":player_no"),
  60.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_british_coldstream_pants", 7), #last int is uniform part, e.g. 4 is head, 3 is body, etc.
  61.         (try_end),
  62.        
  63.         (else_try),
  64.         (eq,":troop_id","trp_british_infantry_flute"),
  65.         (agent_equip_item,":agent_id","itm_british_coldstream_pants"),
  66.        
  67.         (try_for_range, ":player_no", 1, multiplayer_player_loops_end), #0 is server so starting from 1
  68.             (player_is_active, ":player_no"),
  69.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_british_coldstream_pants", 7), #last int is uniform part, e.g. 4 is head, 3 is body, etc.
  70.         (try_end),
  71.      
  72.       (else_try),
  73.      (eq,":troop_id","trp_british_infantry2"),
  74.         (agent_equip_item,":agent_id","itm_33_stovepipe"),
  75.         (agent_equip_item,":agent_id","itm_british_coldstream_pants"),
  76.        
  77.         (try_for_range, ":player_no", 1, multiplayer_player_loops_end), #0 is server so starting from 1
  78.             (player_is_active, ":player_no"),
  79.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_british_coldstream_pants", 7), #last int is uniform part, e.g. 4 is head, 3 is body, etc.
  80.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_33_stovepipe", 4),
  81.         (try_end),
  82.        
  83.         (else_try),
  84.         (eq,":troop_id","trp_british_infantry2_nco"),
  85.         (agent_equip_item,":agent_id","itm_33_stovepipe"),
  86.         (agent_equip_item,":agent_id","itm_russian_peasant_pike"),
  87.         (agent_equip_item,":agent_id","itm_british_captain_legs"),
  88.         (agent_equip_item,":agent_id","itm_cane_melee"),
  89.        
  90.        (try_for_range, ":player_no", 1, multiplayer_player_loops_end), #0 is server so starting from 1
  91.             (player_is_active, ":player_no"),
  92.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_33_stovepipe", 4),#last int is uniform part, e.g. 4 is head, 3 is body, etc.
  93.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_british_captain_legs", 7),
  94.         (try_end),
  95.        
  96.         (else_try),
  97.         (eq,":troop_id","trp_british_infantry2_officer"),
  98.         (agent_equip_item,":agent_id","itm_33_stovepipe"),
  99.         (agent_equip_item,":agent_id","itm_british_captain_legs"),
  100.        
  101.        (try_for_range, ":player_no", 1, multiplayer_player_loops_end), #0 is server so starting from 1
  102.             (player_is_active, ":player_no"),
  103.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_33_stovepipe", 4),#last int is uniform part, e.g. 4 is head, 3 is body, etc.
  104.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_british_captain_legs", 7),
  105.         (try_end),
  106.        
  107.         (else_try),
  108.         (eq,":troop_id","trp_british_infantry2_drum"),
  109.         (agent_equip_item,":agent_id","itm_33_stovepipe"),
  110.         (agent_equip_item,":agent_id","itm_british_coldstream_pants"),
  111.        
  112.        (try_for_range, ":player_no", 1, multiplayer_player_loops_end), #0 is server so starting from 1
  113.             (player_is_active, ":player_no"),
  114.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_33_stovepipe", 4),#last int is uniform part, e.g. 4 is head, 3 is body, etc.
  115.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_british_coldstream_pants", 7),
  116.         (try_end),
  117.        
  118.         (else_try),
  119.         (eq,":troop_id","trp_british_infantry2_flute"),
  120.         (agent_equip_item,":agent_id","itm_33_stovepipe"),
  121.         (agent_equip_item,":agent_id","itm_british_coldstream_pants"),
  122.        
  123.        (try_for_range, ":player_no", 1, multiplayer_player_loops_end), #0 is server so starting from 1
  124.             (player_is_active, ":player_no"),
  125.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_33_stovepipe", 4),#last int is uniform part, e.g. 4 is head, 3 is body, etc.
  126.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_british_coldstream_pants", 7),
  127.         (try_end),
  128.        
  129.         (else_try),
  130.         (eq,":troop_id","trp_british_highlander_nco"),
  131.         (agent_equip_item,":agent_id","itm_british_highland_kilt_officer"),
  132.         (agent_equip_item,":agent_id","itm_cane_melee"),
  133.         (agent_equip_item,":agent_id","itm_russian_peasant_pike"),
  134.        
  135.        (try_for_range, ":player_no", 1, multiplayer_player_loops_end), #0 is server so starting from 1
  136.             (player_is_active, ":player_no"),
  137.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_british_highland_kilt_officer", 7), #last int is uniform part, e.g. 4 is head, 3 is body, etc.
  138.         (try_end),
  139.        
  140.         (else_try),
  141.         (eq,":troop_id","trp_british_highlander_officer"),
  142.         (agent_equip_item,":agent_id","itm_british_highland_kilt_officer"),
  143.        
  144.        (try_for_range, ":player_no", 1, multiplayer_player_loops_end), #0 is server so starting from 1
  145.             (player_is_active, ":player_no"),
  146.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_british_highland_kilt_officer", 7), #last int is uniform part, e.g. 4 is head, 3 is body, etc.
  147.         (try_end),
  148.        
  149.         (else_try),
  150.      (eq,":troop_id","trp_british_foot_guard"),
  151.         (agent_equip_item,":agent_id","itm_33_stovepipe"),
  152.        
  153.         (try_for_range, ":player_no", 1, multiplayer_player_loops_end), #0 is server so starting from 1
  154.             (player_is_active, ":player_no"),
  155.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_33_stovepipe", 4), #last int is uniform part, e.g. 4 is head, 3 is body, etc.
  156.         (try_end),
  157.        
  158.         (else_try),
  159.         (eq,":troop_id","trp_british_foot_guard_nco"),
  160.         (agent_equip_item,":agent_id","itm_33_stovepipe"),
  161.         (agent_equip_item,":agent_id","itm_british_captain_legs"),
  162.         (agent_equip_item,":agent_id","itm_cane_melee"),
  163.         (agent_equip_item,":agent_id","itm_russian_peasant_pike"),
  164.        
  165.        (try_for_range, ":player_no", 1, multiplayer_player_loops_end), #0 is server so starting from 1
  166.             (player_is_active, ":player_no"),
  167.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_33_stovepipe", 4),#last int is uniform part, e.g. 4 is head, 3 is body, etc.
  168.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_british_captain_legs", 7),
  169.         (try_end),
  170.        
  171.         (else_try),
  172.         (eq,":troop_id","trp_british_foot_guard_officer"),
  173.         (agent_equip_item,":agent_id","itm_33_stovepipe"),
  174.         (agent_equip_item,":agent_id","itm_british_captain_legs"),
  175.        
  176.        (try_for_range, ":player_no", 1, multiplayer_player_loops_end), #0 is server so starting from 1
  177.             (player_is_active, ":player_no"),
  178.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_33_stovepipe", 4),#last int is uniform part, e.g. 4 is head, 3 is body, etc.
  179.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_british_captain_legs", 7),
  180.         (try_end),
  181.        
  182.         (else_try),
  183.         (eq,":troop_id","trp_british_foot_guard_drum"),
  184.         (agent_equip_item,":agent_id","itm_33_stovepipe"),
  185.        
  186.        (try_for_range, ":player_no", 1, multiplayer_player_loops_end), #0 is server so starting from 1
  187.             (player_is_active, ":player_no"),
  188.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_33_stovepipe", 4),#last int is uniform part, e.g. 4 is head, 3 is body, etc.
  189.         (try_end),
  190.        
  191.         (else_try),
  192.         (eq,":troop_id","trp_british_foot_guard_flute"),
  193.         (agent_equip_item,":agent_id","itm_33_stovepipe"),
  194.        
  195.        (try_for_range, ":player_no", 1, multiplayer_player_loops_end), #0 is server so starting from 1
  196.             (player_is_active, ":player_no"),
  197.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_33_stovepipe", 4),#last int is uniform part, e.g. 4 is head, 3 is body, etc.
  198.         (try_end),
  199.        
  200.         (else_try),
  201.      (eq,":troop_id","trp_british_light_infantry"),
  202.         (agent_equip_item,":agent_id","itm_british_coldstream_pants"),
  203.        
  204.         (try_for_range, ":player_no", 1, multiplayer_player_loops_end), #0 is server so starting from 1
  205.             (player_is_active, ":player_no"),
  206.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_british_coldstream_pants", 7),#last int is uniform part, e.g. 4 is head, 3 is body, etc.
  207.         (try_end),
  208.        
  209.         (else_try),
  210.         (eq,":troop_id","trp_british_light_infantry_nco"),
  211.         (agent_equip_item,":agent_id","itm_british_coldstream_pants"),
  212.         (agent_equip_item,":agent_id","itm_cane_melee"),
  213.         (agent_equip_item,":agent_id","itm_russian_peasant_pike"),
  214.        
  215.        (try_for_range, ":player_no", 1, multiplayer_player_loops_end), #0 is server so starting from 1
  216.             (player_is_active, ":player_no"),
  217.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_british_coldstream_pants", 7), #last int is uniform part, e.g. 4 is head, 3 is body, etc.
  218.         (try_end),
  219.        
  220.         (else_try),
  221.         (eq,":troop_id","trp_british_light_infantry_officer"),
  222.         (agent_equip_item,":agent_id","itm_british_coldstream_pants"),
  223.        
  224.        (try_for_range, ":player_no", 1, multiplayer_player_loops_end), #0 is server so starting from 1
  225.             (player_is_active, ":player_no"),
  226.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_british_coldstream_pants", 7),#last int is uniform part, e.g. 4 is head, 3 is body, etc.
  227.         (try_end),
  228.        
  229.         (else_try),
  230.         (eq,":troop_id","trp_british_light_infantry_horn"),
  231.         (agent_equip_item,":agent_id","itm_british_coldstream_pants"),
  232.        
  233.        (try_for_range, ":player_no", 1, multiplayer_player_loops_end), #0 is server so starting from 1
  234.             (player_is_active, ":player_no"),
  235.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_british_coldstream_pants", 7),#last int is uniform part, e.g. 4 is head, 3 is body, etc.
  236.         (try_end),
  237.        
  238.         (else_try),
  239.      (eq,":troop_id","trp_british_hussar"),
  240.         (agent_equip_item,":agent_id","itm_british_light_dragoon_pants"),
  241.        
  242.         (try_for_range, ":player_no", 1, multiplayer_player_loops_end), #0 is server so starting from 1
  243.             (player_is_active, ":player_no"),
  244.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_british_light_dragoon_pants", 7),#last int is uniform part, e.g. 4 is head, 3 is body, etc.,
  245.         (try_end),
  246.        
  247.         (else_try),
  248.         (eq,":troop_id","trp_british_hussar_nco"),
  249.         (agent_equip_item,":agent_id","itm_british_light_dragoon_pants"),
  250.        
  251.        (try_for_range, ":player_no", 1, multiplayer_player_loops_end), #0 is server so starting from 1
  252.             (player_is_active, ":player_no"),
  253.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_british_light_dragoon_pants", 7),#last int is uniform part, e.g. 4 is head, 3 is body, etc.
  254.         (try_end),
  255.        
  256.         (else_try),
  257.         (eq,":troop_id","trp_british_hussar_officer"),
  258.         (agent_equip_item,":agent_id","itm_british_light_dragoon_pants"),
  259.        
  260.        (try_for_range, ":player_no", 1, multiplayer_player_loops_end), #0 is server so starting from 1
  261.             (player_is_active, ":player_no"),
  262.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_british_light_dragoon_pants", 7),#last int is uniform part, e.g. 4 is head, 3 is body, etc.
  263.         (try_end),
  264.        
  265.         (else_try),
  266.         (eq,":troop_id","trp_british_hussar_bugle"),
  267.         (agent_equip_item,":agent_id","itm_british_light_dragoon_pants"),
  268.        
  269.        (try_for_range, ":player_no", 1, multiplayer_player_loops_end), #0 is server so starting from 1
  270.             (player_is_active, ":player_no"),
  271.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_british_light_dragoon_pants", 7),#last int is uniform part, e.g. 4 is head, 3 is body, etc.
  272.         (try_end),
  273.        
  274.         (else_try),
  275.      (eq,":troop_id","trp_british_light_dragoon"),
  276.         (agent_equip_item,":agent_id","itm_british_rocket_tarleton"),
  277.        
  278.         (try_for_range, ":player_no", 1, multiplayer_player_loops_end), #0 is server so starting from 1
  279.             (player_is_active, ":player_no"),
  280.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_british_rocket_tarleton", 4),#last int is uniform part, e.g. 4 is head, 3 is body, etc.
  281.         (try_end),
  282.        
  283.         (else_try),
  284.         (eq,":troop_id","trp_british_light_dragoon_nco"),
  285.         (agent_equip_item,":agent_id","itm_british_rocket_tarleton"),
  286.        
  287.        (try_for_range, ":player_no", 1, multiplayer_player_loops_end), #0 is server so starting from 1
  288.             (player_is_active, ":player_no"),
  289.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_british_rocket_tarleton", 4),#last int is uniform part, e.g. 4 is head, 3 is body, etc.
  290.         (try_end),
  291.        
  292.         (else_try),
  293.         (eq,":troop_id","trp_british_light_dragoon_officer"),
  294.         (agent_equip_item,":agent_id","itm_british_rocket_tarleton"),
  295.        
  296.        (try_for_range, ":player_no", 1, multiplayer_player_loops_end), #0 is server so starting from 1
  297.             (player_is_active, ":player_no"),
  298.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_british_rocket_tarleton", 4),#last int is uniform part, e.g. 4 is head, 3 is body, etc.
  299.         (try_end),
  300.        
  301.         (else_try),
  302.         (eq,":troop_id","trp_british_light_dragoon_bugle"),
  303.         (agent_equip_item,":agent_id","itm_british_rocket_tarleton"),
  304.        
  305.        (try_for_range, ":player_no", 1, multiplayer_player_loops_end), #0 is server so starting from 1
  306.             (player_is_active, ":player_no"),
  307.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_british_rocket_tarleton", 4),#last int is uniform part, e.g. 4 is head, 3 is body, etc.
  308.         (try_end),
  309.        
  310.         (else_try),
  311.      (eq,":troop_id","trp_french_infantry"),
  312.         (agent_equip_item,":agent_id","itm_british_coldstream_pants"),
  313.        
  314.         (try_for_range, ":player_no", 1, multiplayer_player_loops_end), #0 is server so starting from 1
  315.             (player_is_active, ":player_no"),
  316.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_british_coldstream_pants", 7),#last int is uniform part, e.g. 4 is head, 3 is body, etc.
  317.         (try_end),
  318.        
  319.         (else_try),
  320.         (eq,":troop_id","trp_french_infantry_drum"),
  321.         (agent_equip_item,":agent_id","itm_british_coldstream_pants"),
  322.        
  323.        (try_for_range, ":player_no", 1, multiplayer_player_loops_end), #0 is server so starting from 1
  324.             (player_is_active, ":player_no"),
  325.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_british_coldstream_pants", 7),#last int is uniform part, e.g. 4 is head, 3 is body, etc.
  326.         (try_end),
  327.        
  328.         (else_try),
  329.         (eq,":troop_id","trp_french_infantry_flute"),
  330.         (agent_equip_item,":agent_id","itm_british_coldstream_pants"),
  331.        
  332.        (try_for_range, ":player_no", 1, multiplayer_player_loops_end), #0 is server so starting from 1
  333.             (player_is_active, ":player_no"),
  334.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_british_coldstream_pants", 7),#last int is uniform part, e.g. 4 is head, 3 is body, etc.
  335.         (try_end),
  336.        
  337.         (else_try),
  338.      (eq,":troop_id","trp_french_infantry2"),
  339.         (agent_equip_item,":agent_id","itm_british_coldstream_pants"),
  340.        
  341.         (try_for_range, ":player_no", 1, multiplayer_player_loops_end), #0 is server so starting from 1
  342.             (player_is_active, ":player_no"),
  343.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_british_coldstream_pants", 7),#last int is uniform part, e.g. 4 is head, 3 is body, etc.
  344.         (try_end),
  345.        
  346.         (else_try),
  347.         (eq,":troop_id","trp_french_infantry2_drum"),
  348.         (agent_equip_item,":agent_id","itm_british_coldstream_pants"),
  349.        
  350.        (try_for_range, ":player_no", 1, multiplayer_player_loops_end), #0 is server so starting from 1
  351.             (player_is_active, ":player_no"),
  352.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_british_coldstream_pants", 7),#last int is uniform part, e.g. 4 is head, 3 is body, etc.
  353.         (try_end),
  354.        
  355.         (else_try),
  356.         (eq,":troop_id","trp_french_infantry2_flute"),
  357.         (agent_equip_item,":agent_id","itm_british_coldstream_pants"),
  358.        
  359.        (try_for_range, ":player_no", 1, multiplayer_player_loops_end), #0 is server so starting from 1
  360.             (player_is_active, ":player_no"),
  361.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_british_coldstream_pants", 7),#last int is uniform part, e.g. 4 is head, 3 is body, etc.
  362.         (try_end),
  363.        
  364.         (else_try),
  365.         (eq,":troop_id","trp_french_old_guard"),
  366.        (agent_equip_item,":agent_id","itm_wurttemberg_grenadier_pants"),
  367.        
  368.        (try_for_range, ":player_no", 1, multiplayer_player_loops_end), #0 is server so starting from 1
  369.             (player_is_active, ":player_no"),
  370.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_wurttemberg_grenadier_pants", 7),#last int is uniform part, e.g. 4 is head, 3 is body, etc.
  371.         (try_end),
  372.        
  373.         (else_try),
  374.         (eq,":troop_id","trp_french_old_guard_nco"),
  375.        (agent_equip_item,":agent_id","itm_wurttemberg_pants_all_ranks"),
  376.         (agent_equip_item,":agent_id","itm_cane_melee"),
  377.         (agent_equip_item,":agent_id","itm_russian_peasant_pike"),
  378.        
  379.        (try_for_range, ":player_no", 1, multiplayer_player_loops_end), #0 is server so starting from 1
  380.             (player_is_active, ":player_no"),
  381.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_wurttemberg_pants_all_ranks", 7),#last int is uniform part, e.g. 4 is head, 3 is body, etc.
  382.         (try_end),
  383.        
  384.         (else_try),
  385.         (eq,":troop_id","trp_french_old_guard_officer"),
  386.        (agent_equip_item,":agent_id","itm_wurttemberg_pants_officer"),
  387.        
  388.        (try_for_range, ":player_no", 1, multiplayer_player_loops_end), #0 is server so starting from 1
  389.             (player_is_active, ":player_no"),
  390.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_wurttemberg_pants_officer", 7),#last int is uniform part, e.g. 4 is head, 3 is body, etc.
  391.         (try_end),
  392.        
  393.         (else_try),
  394.         (eq,":troop_id","trp_french_old_guard_drum"),
  395.        (agent_equip_item,":agent_id","itm_wurttemberg_grenadier_pants"),
  396.        
  397.        (try_for_range, ":player_no", 1, multiplayer_player_loops_end), #0 is server so starting from 1
  398.             (player_is_active, ":player_no"),
  399.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_wurttemberg_grenadier_pants", 7),#last int is uniform part, e.g. 4 is head, 3 is body, etc.
  400.         (try_end),
  401.        
  402.         (else_try),
  403.         (eq,":troop_id","trp_french_old_guard_flute"),
  404.        (agent_equip_item,":agent_id","itm_wurttemberg_grenadier_pants"),
  405.        
  406.        (try_for_range, ":player_no", 1, multiplayer_player_loops_end), #0 is server so starting from 1
  407.             (player_is_active, ":player_no"),
  408.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_wurttemberg_grenadier_pants", 7),#last int is uniform part, e.g. 4 is head, 3 is body, etc.
  409.         (try_end),
  410.        
  411.         (else_try),
  412.      (eq,":troop_id","trp_french_hussar"),
  413.         (agent_equip_item,":agent_id","itm_french_hussar_shako_colours"),
  414.        
  415.         (try_for_range, ":player_no", 1, multiplayer_player_loops_end), #0 is server so starting from 1
  416.             (player_is_active, ":player_no"),
  417.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_french_hussar_shako_colours", 4),#last int is uniform part, e.g. 4 is head, 3 is body, etc.
  418.         (try_end),
  419.        
  420.         (else_try),
  421.      (eq,":troop_id","trp_french_hussar_trumpet"),
  422.         (agent_equip_item,":agent_id","itm_french_hussar_shako_colours"),
  423.        
  424.         (try_for_range, ":player_no", 1, multiplayer_player_loops_end), #0 is server so starting from 1
  425.             (player_is_active, ":player_no"),
  426.             (multiplayer_send_3_int_to_player, ":player_no", multiplayer_event_return_agent_set_item, ":agent_id", "itm_french_hussar_shako_colours", 4),#last int is uniform part, e.g. 4 is head, 3 is body, etc.
  427.         (try_end),
  428.        
  429.         (else_try),
  430.         (this_or_next|eq,":troop_id","trp_french_infantry_nco"),
  431.         (this_or_next|eq,":troop_id","trp_french_infantry2_nco"),
  432.         (this_or_next|eq,":troop_id","trp_french_infantry_vistula_colours"),
  433.         (eq,":troop_id","trp_french_voltigeur_colours"),
  434.         (agent_equip_item,":agent_id","itm_cane_melee"),
  435.         (agent_equip_item,":agent_id","itm_russian_peasant_pike"),
  436.    
  437.         (try_for_range, ":player_no", 1, multiplayer_player_loops_end), #0 is server so starting from 1
  438.             (player_is_active, ":player_no"),
  439.         (try_end),
  440.         (try_end),
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top