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"

How to keep proper High Score.

I'm having problem with High Score not working properly. Game instance is keep adding Coins already Collected on top of High Score. So if Score from previous game was 10 and starting new game with collected coins lets say 2 it will turn the High Score in to 12 coins all together. How to set up game instance or what ever might be so it doesn't over ride the High Score unless the Coin Collected is greater then the High Score. If any one knows thank you for your help!!!

Product Version: UE 4.12
more ▼

asked Jan 20 '17 at 04:58 AM in Using UE4

avatar image

124 12 23 29

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

1 answer: sort voted first

Put a branch in between and check if the current score is > highscore and if true then set it to the new one. Or you could use "select int" instead of a branch and compare it there. Just some ideas and there are even more ways to do it.

For better input it would help to see how you've set it up right now...

more ▼

answered Feb 09 '17 at 03:37 PM

avatar image

21 1 2

(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