Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Show final score at Game over screen?

How's it going guys fellas?

I've been struggling with something I think is really simple but I just can't make it work. The thing is that I've already implemented a scoring system at game screen, are two actor receiving points and it is working just fine, But I want to show the final score at my game over screen, I simply can't, I placed at the game over level blueprint a "Draw Text" node with "Get HUD" and "Get player controller", and it actually shows the HUD but at 0.

What can I do? :( Thanks!

Product Version: Not Selected
more ▼

asked Jan 14 '15 at 07:17 PM in Blueprint Scripting

avatar image

1 2 3 4

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Instead of using the draw text, you could always use an editable text box widget. alt text

My example uses four separate text boxes, but you could just use one. Use the "Create Widget" and "Add to Viewport" to make it appear, and then you can just use the "Set Text (Text Box)" node and pass in your score variable. Sadly, I don't know how to do it using the "Draw Text" node and "Get HUD," but I find that this is easier and nicer looking anyway.

Here's a sample of using the Set Text (Text Box) node: alt text

text box.png (78.5 kB)
text box2.png (54.3 kB)
more ▼

answered Jan 14 '15 at 10:15 PM

avatar image

31 4 5 6

avatar image Superfume Jan 15 '15 at 05:39 AM

cool! but how can I recall that widget at game over level for the final score? is there some kind of custom event which I can use for showing the final score?

Thank you very much for your reply :)

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question