Does anyone have any tutorials or know of any tutorials for multiple types like pokemon, or the turn based battling in it?
I have managed a simple Rock, Paper, Scissors type of system with Enums, but when a type has multiple weaknesses, then I can’t set it as more than one thing.
(All done in blueprints)
Switch on Enum Type:
When Fire -> Set Enum Weakness to Water
When Water -> Set Enum Weakness Grass
When Grass -> Set Enum Weakness Fire
But if I was to add “Bug” for example, I can’t have 2 weaknesses. Grass would be weak against both Fire and Bug. I couldn’t figure out how to create an array of Weaknesses? (fairly new still) Any tips?
And in terms of the battling system. If anyone can point me to a tutorial that would be fantastic. I couldn’t find one myself