Hello, I am attempting to make a creature selection menu for a multiplayer game. That essentially on spawn in, I dont want the player to be instantly spawned in. Rather on a single widget image, and with a array of selectable buttons. That would be obviously the various creatures that the player could select. After selecting the creature they’d like. They then get spawned at one of the various player starts scattered around the world. What would be the best course to accomplish this? Thank you dearly! ^^
There’s a couple ways you could go about it. You could spawn the player character/class with an empty skeletal mesh, at a location set for sat “character selection”, and construct the mentioned widget. Upon selection of the desired creature, set the mesh and animation BP and IMC. Then Set their location to a spawn point.
Alternatively, you could spawn a character selector class to select the creature,
then spawn the player character passing some variables to set it’s creature and functionality, and possess that actor with the player controller, and destroy the “character selector” actor.
Either way I’d use level streaming to setup a character select area, as well as a widget system for selecting the creature. As far as how to store the data for the various creatures I like the Data table feature as you can store all the needed information for your creatures, call the desired row, and set an actors variables/components on begin play.
I’d use the first mentioned method myself in this scenario.