How to associate an emum list to character BP's?

I’m trying out options for a more efficient process to switch between my three character classes, to do so I want to toggle (possess spawned character/destroy old character) from one character to the next every time I press tab. I think an enum list if a good option for this (?) and I have created a simple list as follows.

  • TPSCharacter
  • FPSCharacter
  • BuilderCharacter

The question is how do I associate the character BP for each with the strings in the list?

If you have all of your character classes in an array (in the same order as the enum), you can just increment an index every time tab is pressed and use it to look up which character class you need to spawn. That doesn’t use the enum directly, but you can wrap the index with a ‘Get Number of Entries in XXX’ node, and if you need to you can convert the index to an enum with a ‘Byte to enum XXX’ node (which you could then use in a ‘switch on enum’ for instance).

I personaly made a main blueprint, and for all classes I made a child blueprint derivated from the main blueprint, child just init all variable in the parent blueprint, and the main has all scripts which are common to all classes