Add Pawn - BP_BaseShip

Kyle Austad 2024-10-07 10:32:26 -06:00
parent e8e8e5e6d2
commit 1d92811561

11
Pawn - BP_BaseShip.-.md Normal file

@ -0,0 +1,11 @@
This page covers each function and variable in the included ship pawn *BP_BaseShip* as well as its *Event Graph* and how to transfer its logic to your own pawn.
Lets start with how to transfer the **Modular Ship Stat System** code to your own pawn.
## Transfer to your own pawn
If you already have a pawn for your project or have a better flight system that fits your needs but still want to use the system for controlling stats and variables on the player pawn you will want to transfer a few things to your own pawn.
The first thing to do on your new pawn is to go to the *Class Settings* in its blueprint editor and go down to *Implemented Interfaces*. Click on add and search for *BPI_ShipCore* and add it. If you want the basic currency system as well on your pawn and don't have your own, add the interface *BPI_Shop* as well.
![](https://git.crabinteractive.com/crabdev/MSSS-Documentation/raw/branch/main/Images/BP_BaseShip/1.png)