Page cover

Add a New Currency

Files used: E_Currency, (Optional) BPC_RPGSystem, (Optional) BPC_DropSystem

Add the Enum

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.

OPTIONAL - Add as a Drop

  1. Add the Currency to E_Item.

  2. 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.

  1. 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.

Last updated