Add a New Currency
Last updated
Last updated
Files used: E_Currency, (Optional) BPC_RPGSystem, (Optional) BPC_DropSystem
Open the E_Currency enum.
E_Currency is located in RPGSystem/Blueprints/Enum/Basic
Add a new Currency to the E_Currency.
That’s all you need to do to use the 'AddCurrency
' function but if you want to have it as a lootable item, there are some more steps to do.
Add the Currency to E_Item.
After creating a new Item for your Currency, you have to add the ItemID here to this Switch in the InventoryAddItem
function and add a new AddCurrencyServer
to the switch with the correct Currency.
If you want an automatic amount scaling, you need to add your ItemID of the currency to the switch in the MakeDropList
function of the BPC_DropSystem and connect it exactly like the Gold. You can also add your own scaling formula.