I have a game im making and have spells i want to cast, at certain levels more powers become available (Level 1=Fireball & Level 5=Hells Gate). Now I can do every thing calling individual boolean’s and setting them but is alot of extra unnecessary work. What I want to do is make a array of boolean’s or a structure containing each of my powers like this (Which one is best to use, An Array or Structure?)
Then with the array/structure I want to scroll threw each power making one true and rest false if the right level is had in blueprint so I can determine what power is active.
For example your level 8 and have 3 powers available, when you press the 1 key have it switch to the next power available to you. So if fireball is active you press 1 key now fireball is no longer active but hell’s gate is active.
How do I achieve this and which is best used a structure or array? Any help is appreciated, Thank You!
PS: I have read documentation and do not understand as it only covers basics.