Skip to content

Change Main Menu

Change Main Menu

Changes the main menu user interface for the current map scene.

Properties

System

Name Explanation Type
Menu The menu user interface to assign as the main menu for the current scene. User Interface

Examples

Change the Main Menu to a Different User Interface

This changes the main menu for the current map scene to the user interface identified by the given unique ID.

set_main_menu("a1b2c3d4-e5f6-7890-abcd-ef1234567890");
{"Data":{"MenuID":"a1b2c3d4-e5f6-7890-abcd-ef1234567890","Metadata":null},"TypeName":"MAR.Game.RPGCore.Models.Scripts.Commands.MainMenu.SetMainMenuCommand"}