You'll find this in module_presentations, the presentation "banner_selection", this bit of code:Lord_Cheap said:A simple question really, but what should I remove so that when a player picks a banner, the lord that already has the banner still keeps it, and not switch to another one? Thanks
Code:
(assign, ":troop_to_change", 0),
(assign, ":end_cond", active_npcs_end),
(try_for_range, ":cur_troop", active_npcs_begin, ":end_cond"),
(troop_slot_eq, ":cur_troop", slot_troop_banner_scene_prop, ":selected_banner_spr"),
(assign, ":troop_to_change", ":cur_troop"),
(assign, ":end_cond", 0),
(troop_set_slot, ":cur_troop", slot_troop_banner_scene_prop, banner_scene_props_end_minus_one),
(troop_get_slot, ":cur_party", ":cur_troop", slot_troop_leaded_party),
(gt, ":cur_party", 0),
(party_set_banner_icon, ":cur_party", banner_map_icons_end_minus_one),
(try_end),
(try_for_range, ":cur_center", walled_centers_begin, walled_centers_end),
(try_begin),
(party_slot_eq, ":cur_center", slot_town_lord, "trp_player"),
(party_set_banner_icon, ":cur_center", ":selected_banner_map_icon"),
(else_try),
(party_slot_eq, ":cur_center", slot_town_lord, ":troop_to_change"),
(party_set_banner_icon, ":cur_center", banner_map_icons_end_minus_one),
(try_end),
(try_end),
(try_end),