Download

I need a Pickup counter like Mario's Stars.

Hi All

I want to be able to hit an object, it disappear and get +1 to my counter. (I think I can work out the destruction of the object)

Any links to tutorials out there mainly for the pickup counter.

DJ

Do you already have a UMG widget on screen for your counter?

Have not started at all. I just found these, they may help me. Let me find out. Hope it translate to side scroller LOL.

Error with HUD

Looking like I can not even get HUD working.

Did the following.

Blueprint Interface - Named “Counter State”
fc3a60c5395e0d9006c8b7522a1909d5f6f425d7.jpeg

Added above to “My Character”
8baf9d4802b134d7af48d0e03c4dd358e6b1d038.jpeg

Added 2 Variables. Current set to “30” and max set to “100”
b20122ab004311298ca75097f625a8afb3e03921.jpeg

Joined them as “Gets”
93d8c6819fd67443683a4239d5f2e9a1cf2095d7.jpeg

Then made “User Interface Widget Blueprint”. and added progress bar
784a4f5578b7f313a69ae0a811fd9d7308a91d84.jpeg

Created a new binding under Appearance, and added the the Counter State
Capture7.JPG

Added the following Nodes
df0026d0ed0412023fc609e3c58469671bd7a507.jpeg

Edited World BluePrint, added widget and these nodes.

And no success

Where is my error - no progress
Capture9.JPG

Interfaces probably aren’t the best way to go for this. Instead, in your widget blueprint where you bind your progress bar’s value to something just skip the interface altogether. Drag out from “Get Player Pawn” and cast to “My Character.” Then you can get the two variables from that cast node and divide them to return the fill amount.

Take a look at these articles:
http://romeroblueprints.blogspot.com.br/2014/05/a-very-simple-game-in-blueprints.html

Cheers All

I will look at that Macros, just got to work out how to extract just the counter.

Narg