How to make mnu_reports work?

Users who are viewing this thread

erennuman_mb

Grandmaster Knight
I made a bare-bones version of the module system, which included deleting the camp and reports menus. I managed to bring back the camp menu using script_party_encounter, but now when I click reports, it also goes to the camp menu. I searched the vanilla module system to see if there are any scripts or dialogs etc. that might be triggering the reports menu, but couldn't find any.
Does anybody know how to bring it back again?
 
erennuman_mb said:
I managed to bring back the camp menu using script_party_encounter, but now when I click reports, it also goes to the camp menu

the initial menus are hardcoded (their ID), so you need to keep the order (even if you have some not in use or with empty code). That is why your button is opening the wrong menu (the hook is still pointing to the same ID as before).
 
Back
Top Bottom