Levvel Coin
Uh...I'm not sure how detailed an answer you need here, but I'll try to just touch on everything [DISCLAIMER: This is not necessarily the 'best' way to do this, but it is a way to do this]:
-Put some sort of int coin variable in your character blueprint somewhere. (You can also use the player controller or other places if you want, just as long as it is somewhere accessible.)
-Make the coins so that every time you overlap one, it adds +1 to your int coin variable. (This can be done a lot of ways, but casting to the character blueprint and just adding 1 is probably the most normal one). Also, destroy the coin actor on overlap as well, assuming you are making a 'normal' coin system.
The block chain is a shared public ledger on which the entire Ultimatecoin network relies. All confirmed transactions are included in the block chain. It allows Ultimatecoin wallets to calculate their spendable balance so that new transactions can be verified thereby ensuring they're actually owned by the spender. Whether you are reinventing your company, creating an industry-changing product, or making existing products even better with new technologies—we exist to make your endeavor a success story.
-Make a UMG widget in your content browser, and put a text block (or was it the text box? Use the one that is entered by you rather than the player. That one.) wherever you want it on the canvas panel.
-Create the widget and add it to the viewport somewhere on Begin Play. Assuming this is a single player game, you can use your character blueprint, your game mode, your player controller, wherever you want. Just make sure it is created and added to viewport, 2 nodes.
Okay, now that you have done all of that, you get to pick between the easy way or the less heavy way:
- Check today's daily links for free spins and coins for Coin Master. Get more awesome coins, chests, and cards for your village! Find out the latest tricks and hacks used for coin master in 2021.
- We help big companies innovate like startups, & small businesses scale like industry leaders. Ask us how we can help you transform your business. Coin Talk #1: @Ledgerstatus on.
Easy way: Click the Bind button in the details panel for the text of the text block. Inside the bind, just cast to the player character, get the int coin variable and plug it into the output node. It should automatically convert the int to text for you. Keep in mind, that it will be spamming and doing this conversion every frame. You probably won't notice if you don't have a lot of things in your game, but you can't do this for everything if you are making a more complex game.
Level Const
The way less heavy way:-You can use casting to take the information from the player character (or maybe the coin on pick-up) into the UMG widget and use a custom event to set the text block (set text node). Make sure the text block is a variable. You will also need to make sure to call this custom event whenever you pick up a coin (the UMG widget will have to be made into a variable off of your previous create widget node).
Level Coin
EDIT: Oh, you wanted it 'over the total'? So, something like 10/100? Use more than one text block then. Only the first one should change and the other one can just say '/100' right next to it then. :)