In this tutorial we’ll set up an ability menu screen.
This tutorial is part 7 of a mini-series covering menu screens. You can find the start of this series here.
We’ll set up the Ability menu screen, i.e. showing a combatant’s abilities, field abilities can also be used. We’ll also add a button to the Main menu screen to open the ability menu.
This tutorial is based on the ORK 4 Unity Quickstart 3D tutorials, but can be used in any project.
Ability Menu Screen #
Open the ORK editor and navigate to Menus > Menu Screens, we’ll add a new menu screen.
We’ll use the same base settings as the Main menu screen.
- Name
Set to: Ability
Settings #
- Remember Selection
Enable - Single Screen
Enable - Pause Notifications
Enable - Block Notifications
Enable - Block Flying Texts
Enable - Pause Game
Enable - Freeze Pause
Enable
Combatant Settings #
We’ll use the tab change keys to change the user of the menu screen.
- Only Battle Group
Disable - Change Battle Sorted
Enable - Allow User Change
Enable
Previous Key #
- Input Key
Select Previous. - Audio Type
Select Tab Change.
Next Key #
- Input Key
Select Next. - Audio Type
Select Tab Change.
Ability Part #
The Ability part is used to display and use the abilities of a combatant.
Scroll down to the bottom of the settings to see the Add Menu Part button.
Click on the Add Menu Part button and select Ability.
- Animate Use
Disable
Available Content Types #
- All Types
Enable - Sort By
Select: ID
Type Box Settings #
This time we’ll display the types in a separate UI box.
- Type Display
Select: UI Box - Display Types>Abilities
Select: Multi - Type Box
Select: Blue Top Right Fit - Add Back Button
Select: Last
Ability Box Settings #
- Ability Box
Select: Blue Menu Center Scroll - Sort By
Select: ID - Add Back Button
Select: Last
The Ability Content Layout settings handle the content of the ability buttons – like with the inventory part, we’ll display the use cost via the additional content info.
We’ll stick with the default setup, if you haven’t used a choice info button with the additional content set up as your default button prefab (UI > UI Settings), select one in the Custom Input Prefab setting.
Drag and Drop #
If you’ve followed the tooltip HUD tutorial, you’ll also want to enable showing tooltips in this menu.
- Enable Tooltips
Enable
Combatant Part #
Scroll down to the bottom of the settings to see the Add Menu Part button.
Click on the Add Menu Part button and select Combatant.
- UI Box
Select: Blue Bottom Left Fit - Combatant Scope
Select: Current
Entry Page 0 #
- Add HUD
Enable - HUD
Select: Template: Combatant Information
Description Part #
Scroll down to the bottom of the settings to see the Add Menu Part button.
Click on the Add Menu Part button and select Description.
- UI Box
Select: Blue Top Left Fit
Add to Main Menu #
With our ability menu set up, we can add it to the main menu.
Select the Main Menu screen.
Button List 0 #
We’ll copy the Equipment button and change the copy’s settings. That way we’ll already have the new button at the position we want it and also has a setup to select the menu’s user.
Copy Menu Item 2 and change the new Menu Item 3 settings.
- Menu Screen
Select: Ability
If you’ve set up the quickstart 3D menus, make sure to use the new one you’ve just set up. - Text (Button Content)
Set to: Ability
Save Changes #
And that’s it!
Don’t forget to save your changes by clicking on Save Settings at the bottom of the editor.
Testing #
Hit play, open the main menu and select the ability menu.
The menu is working, we can switch menu users and using an ability will show the new combatant selection with HUD template.
Also, if you’ve used the bar_preview UI key for the HUD template’s status value list, you’ll notice that having an ability selected will preview the MP changes.
The next part of the menus mini-series will set up the group menu screen.



