First ,i tried this
i add a choice of "load_talk"
[anyone|plyr|repeat_for_troops,"lord_talk_to_troop_2", [
(store_repeat_object, ":troop_no"),
(neq, "$g_talk_troop", ":troop_no"),
(is_between, ":troop_no", heroes_begin, heroes_end),
(this_or_next|troop_slot_eq, ":troop_no", slot_troop_occupation, slto_kingdom_hero),
(troop_slot_eq, ":troop_no", slot_troop_occupation, slto_kingdom_lady),
(troop_get_slot,":boss",":troop_no",slot_troop_boss),
(eq,":boss","$g_talk_troop"),
(str_store_troop_name, s1, ":troop_no")],#find heroes in the team
"{s1}", "close_window",[
(store_repeat_object, "$hero_want_to_talk"),
(jump_to_menu, "mnu_castle_outside"),
(modify_visitors_at_site,"scn_conversation_scene"),(reset_visitors),
(set_visitor,0,"trp_player"),
(set_visitor,17,"$hero_want_to_talk"),
(set_jump_mission,"mt_conversation_encounter"),
(jump_to_scene,"scn_conversation_scene"),
(assign, "$talk_context", tc_castle_gate),
(change_screen_map_conversation, "$hero_want_to_talk"),
]],
but the dialob just closed and nothing happened.
then i found this topic
http://forums.taleworlds.com/index.php/topic,58753.0.html
so i tried this:
i copied the scence "scn_conversation_scene" , renamed it as"scn_conversation_scene_2".
[anyone|plyr|repeat_for_troops,"lord_talk_to_troop_2", [
(store_repeat_object, ":troop_no"),
(neq, "$g_talk_troop", ":troop_no"),
(is_between, ":troop_no", heroes_begin, heroes_end),
(this_or_next|troop_slot_eq, ":troop_no", slot_troop_occupation, slto_kingdom_hero),
(troop_slot_eq, ":troop_no", slot_troop_occupation, slto_kingdom_lady),
(troop_get_slot,":boss",":troop_no",slot_troop_boss),
(eq,":boss","$g_talk_troop"),
(str_store_troop_name, s1, ":troop_no")],
"{s1}", "close_window",[
(store_repeat_object, "$hero_want_to_talk"),
(jump_to_menu, "mnu_castle_outside"),
(modify_visitors_at_site,"scn_conversation_scene_2"),(reset_visitors),
(add_visitors_to_current_scene,17,"$hero_want_to_talk",1),
(set_visitor,0,"trp_player"),
(set_visitor,17,"$hero_want_to_talk"),
(set_jump_mission,"mt_conversation_encounter"),
(jump_to_scene,"scn_conversation_scene_2"),
(assign, "$talk_context", tc_castle_gate),
(change_screen_map_conversation, "$hero_want_to_talk"), ]],
but still nothing happend....
so , could someone help me to solve this problem??thx!!!!!