Lyra - Increase Number of Quick Slots

How do I increase the number of quick slots in Lyra? I can add quickbar slots to the quickbar, and set their slot indexes to a higher number (>2), but when the gameplay ability (GA_QuickbarSlots) cycles forward or backward it only cycles between slots 0-2. When I go to GA_QuickbarSlots → get quickbar → get slots → length, the length is always 3.

(Note: I disconnected the quickslots from the weapons so I can cycle between slots 0-2 wether or not there is a weapon associated with that slot, but I want to cycle between 0-9).

In LyraQuickBarComponent.h there is a property called NumSlots and it’s set to 3.

UPROPERTY()
int32 NumSlots = 3;

So eighter increase it to your desired number or create another int32 variable and expose it to BP so you can change it in the editor.

1 Like

Thanks @13tisa13 I follow what you say but no change in Lyra.
Can you be more precise please?

Sure, you have to open Lyra in Visual Studio ( C++ ), find LyraQuickBarComponent.h file and open it.
Inside you will see " int32 NumSlots = 3; ", change the 3 to whatever slot number you like. Build/Compile and that’s it!

2 Likes