[Please Help] How to set up BP in a standard RPG equipment swapping system

Hello.
I’m a beginner with UE5, having only used it for two months.

I’ve been stuck on this implementation for over a month and I’m on the verge of a mental breakdown, so could someone please help me?

:large_orange_diamond:Environment
・UE5.6.1
・Beginner, just starting to use UE
・Implemented using Blueprint

:large_orange_diamond:Game Prerequisites
・I’m trying to create a side-scrolling action game
・There’s a home screen before transitioning to the in-game screen
・The home screen has a “Transition to In-Game” button and a “Transition to Skill Settings Screen” button
・Pressing the “Transition to Skill Settings Screen” button transitions to the skill settings screen

:large_orange_diamond:Desired Implementation
・I want to implement skill swapping in the skill settings screen

:large_orange_diamond:Expected Behavior
・The skill settings screen has multiple skill slots
・Press any skill slot
・The skill list screen opens
・Press any skill button from the skill list
・After pressing the button, the screen automatically returns to the skill settings screen
・The name of the selected skill is displayed in the skill slot
・The selected skill becomes available for use in-game

*The skill list screen is assumed to be a popup dialog.

I apologize if there are any strange English expressions, as this is a translation from Japanese.

Show us what you got.

What skills do you have ready? (at least 2 so we can swap them)

Do you need the functionality of adding/removing skills or just the menu?

How is your menu working?

How is your add/remove events/methods working?

Thank you for your reply. I’m very happy!

I apologize, I used the term “skills” to simplify the explanation, but what I actually want to do is arrange the action rules in order of priority to control the actions of allied NPCs according to the user’s preferences.

The closest thing to it would be the Gambit system in FF12.

I’ve already created the BP for determining this priority.

:red_question_mark:What skills do you have ready? (at least 2 so we can swap them)
:backhand_index_pointing_right:Yes, I have three ready for now.
①If there is an enemy within a 2.0m radius of the protagonist (the character controlled by the user), attack that enemy.
②Attack the enemy with the lowest HP within a 4.0m radius centered on the NPC.
③If the NPC is more than 6.0m away from the protagonist, move closer to within a 3.0m radius.

:red_question_mark:Do you need the functionality of adding/removing skills or just the menu?
:backhand_index_pointing_right:No removal is needed.
To add to that, it will be needed as the story progresses.

:red_question_mark:How is your menu working?
:backhand_index_pointing_right:・Press any skill button
・The skill list disappears, the skill settings screen appears, and the name of that skill is displayed in the skill slot
・Return to the home screen and navigate to the skill settings screen again
・The display of the skill slot name has reverted to the default display

:red_question_mark:How is your add/remove events/methods working?
:backhand_index_pointing_right:Adding works, but the display reverts as described above.

Currently, the structure is as follows:
WBP_Home
・In-game transition button
・Skill settings screen transition button (transitions to WBP_SkillSetting)

WBP_SkillSetting
・Skill slot 1 button
・Skill slot 2 button
・Skill slot 3 button
(I want to change the names on these buttons to the skill names)

WBP_SkillSlot
・Created to be placed as a skill slot button in WBP_SkillSetting

WBP_SkillList
・Displays skills prepared in DT_Skill as buttons

Please let me know if there is any other information you need.

Try using a ComboBox menu for each of the slots where you pick your skill. Similar to this https://www.youtube.com/watch?v=Bdzj49OhR3w

Connect your swap/add skill methods to when a new value in the box is selected.

Paste screenshots of your blueprints if you encounter any issues.

Thank you for your advice.

I was able to implement what I wanted by rearranging the Blueprint while watching the video you recommended!

Thank you for your cooperation.

I really appreciate your kindness.