Skip to content

Horizon Blueprint and C++ API

One per local player. Blueprint: Get Assetpro Menu Subsystem. C++: LocalPlayer->GetSubsystem<UAMSMenuSubsystem>().

Function What it does
Show Startup Menu Shows the press start screen or the main menu, depending on the Menu Config.
Show Main Menu, Show Press Start Screen Shows that screen.
Show Pause Menu, Hide Pause Menu, Toggle Pause Menu, Is Pause Menu Open Pause menu control. Hide closes anything opened on top of it too.
Open Settings, Open Credits Opens that screen.
Show Confirm Dialog A modal dialog from a Dialog Descriptor (title, message, confirm / cancel / alternate text, destructive, timeout). The result is Confirmed, Cancelled or Alternate.
Push Screen Pushes any activatable widget onto a layer (Game, Game Menu, Menu, Modal).
Execute Menu Entry Runs an entry as if it was clicked.
Set / Clear / Is Menu Entry Enabled Turns entries on or off. See Continue.
Start New Game, Open Menu Level, Restart Level, Return To Main Menu, Quit Game The menu actions.
Close All Menus, Is Any Menu Open Closes every menu, popup and dialog.
On Menu Action (event) Fires with the entry Id after any menu entry runs.
On Pause Menu Changed (event) Fires when the pause menu opens or closes.

Blueprint: Get Assetpro Settings Subsystem. Besides the getters listed under Settings:

Function What it does
Apply And Save Applies video settings and saves everything.
Revert Unsaved Changes Throws away changes made since the last apply.
Confirm Display Mode, Revert Display Mode Answers “Keep display settings?” from code.
Has Unsaved Changes True while there are changes waiting for Apply.
Apply User Settings Pushes every saved value to the engine.
Apply To Player Controller Applies field of view and vibration to a controller. Called for you for every local player controller.
Capture Applied State Call after changing and saving settings outside the settings screen.
Set Custom Setting Value Sets a custom setting.
On Setting Changed, On Settings Applied (events) React to changes.
Node What it does
Get Active Theme, Set Runtime Theme The theme in use, and swapping it at runtime.
Get Active Menu Config The Menu Config in use.
Show Confirmation Dialog A confirmation dialog in one node, with an On Result event.
Play UI Sound Plays one of the active theme’s interface sounds at the Interface volume.
Class Use
AMSMainMenuGameMode GameMode for main menu levels. No pawn; the startup menu appears automatically.
AMSPlayerController Escape and gamepad Start toggle the pause menu, also while paused.
AMSCameraModifier_FieldOfView Applies the Field of View setting to the player’s view. Added to every local player’s camera for you.
AMSMainMenuPlayerController Used by AMSMainMenuGameMode. Shows the startup menu and never opens the pause menu.
Command What it does
AMS.ListSettings Prints the Id of every built-in setting, for Hidden Settings.