Adding a new menu when encountering a party

Users who are viewing this thread

Status
Not open for further replies.
I have tried to make a custom menu to a new town of mine. I have added this line to the end of module_game_menus.py
Code:
  ("travel_point",mnf_auto_enter,
    "You continue your travelling.",
    "none",
    [],
    [
      ("enter",[],"Continue Travelling.",[(set_jump_mission,"mt_town_center"),(jump_to_scene,"scn_scene_sardinia_1"),(change_screen_mission)]),
    ]
  ),
After that I added this line in "script_game_event_party_encounter" inside module_scripts.py to link the menu with the town
Code:
         (else_try),
           (eq, "$g_encountered_party", "p_home_village"),
           (jump_to_menu, "mnu_travel_point"),
Still in game it gives me training field-menu when I enter that town. I have also noticed that the menu my town uses seems to change when I change the location of the town in module_parties.py. Right now it is located almost in the bottom of the file just above "Bridge_1". Does anyone know answer to this problem?
EDIT:
I managed to solve the problem
 
Status
Not open for further replies.
Back
Top Bottom