hi. I have a bunch of abilities in my game, and i've decided that the player cannot be allowed to have them all at the same time- not only are they a bit strong, but i also do not have enough keybinds. So i've decided to lock the amount of equipped abilities at a time. How can i build a system to select and equip abilities?
here's a rough mockup of how i'd like it to look.
though looks don't matter, the main thing is trying to lock the player to only using 3 abilities at a time, while also allowing any combination of abilities at a time. I've tried using arrays, but unfortunately i don't understand them and therefore don't have the slightest clue how to use them.
If anyone has any ideas on how to do this, i would greatly appreciate it!
Use arrays, it's very easy. I made an example for you:
drive.google.com/file/d/1IB6FuXaL91fAdgoxx85bmMUSGUY83QFN/view
I hope it helps