설명
Hello and welcome! The core of this system is the Pawn_Swapper_BP component, meant to be added into player controllers. Then with a single message node, you can tell the player controller to replace the current pawn with any other one on demand, or from a list of various pawns you can make in advance.
If you set up the info for a list of possible pawns in advance, then you can also have it manage custom info being saved and sent to pawns when destroyed or spawned, such as possibly saving health when a pawn is removed, and sending it the previous copy of itself saved health value when it’s next spawned, as well as the values from the previous pawn it was swapped from. While if using multiple pawns in a game you swap between I’d recommend putting most such systems for UI, inventory, etc… in the player controller itself, this can help with handling stuff on the actor side when needed. Note you’ll need to manually plug in the variables you want to save, or load, so some blueprint work is required to hook this up properly.
This package also includes a blueprint interface that allows for a standardized method of sending pawn swap requests from other actors, so you can easily set up level events or other triggers to force a change. For the full details on all the options included and exactly how to use this product, read on.
포함된 포맷
- versions