There are numerous ways to handle it, I kept it open by design to keep it more flexible to the game dev's preferences.
Here are 2 best practices:
Method 1 (requires the hotbar plugin that comes with the sandbox bundle):
- Make 2 Common Events: One to open the menu for "houses", one for "furniture"
- Using eventing, you can anytime replace a Common Event from the hotbar with the one that you want to use
Method 2:
- Inside the Common Event to open the menu, add a Variable OP and store the Map ID into a new Variable "Map ID"
- Next, make a Conditional Branch and check whether the Variable matches the ID of your outside map
- If yes, open the menu for houses, otherwise, for furniture
- You can have as many Conditional Branches as you need
Variable OP: current Map
If Variable current Map == 1
MK.Sandbox.openMenu('houses')
If Variable current Map == 2
MK.Sandbox.openMenu('furniture')

