Switching player character with button press in-game: What's the proper way?

Hi folks. I have three main characters the player can switch between on the fly. Buttons 1, 2, and 3 are bound to those change character events.

Here is my question - What is the proper way to destroy the current character, then spawn the new one in place, have the player possess the new one, and retain the same health and Ammo?

well. what you can do is on your pawns, set the variables of health and ammo to"expose on spawn". so when you spawn your new pawn, you can set those values using you actual values (they will appear as inputs points on your spawn node.)

for the spawning itself, you ll have to spawn the new spawn, unposses your current pawn, possess the new one, the destroy the old one (if you don t want to keep it). hope it helps !

Thank you! This is perfect!

just 1 thing. be aware that for a multiplayer game, the possess node runs on server, so it can be easier for replication to spawn on server side.