How can i start a new conversation from an old one

Users who are viewing this thread

dogstar

Recruit
Hi guys!
I' m making a mod of 1.011 and i have a problem now.plz help~

I put several heroes into one team,so i want to do this-- talk to a hero in a team who is not the team leader.

i have to do this from a dialog because i have no choice when i meet a tem on the map.

first ,i tried this:


 
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!!!!!
 
You bet mate.. I am getting good at conversations.. and it is a bit tricky to get your mind around at first.

In english.. no coding.. just tell me who is talking and how you want the conversation to flow.. and I will show you a quick example of how to make it work.

Best,

Saxondragon
 
Back
Top Bottom