x

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"

Saving high score

Hello! I have made a high score blueprint which is saving my best score, of destroy actors, but when i'am playing, there aren't any saves, and any numbers of destroyed actors. What is bad in my blueprint? I have watching this tutorial on yt. https://www.youtube.com/watch?v=6l7uynUwm5M There are screenshots, of my saving blueprint alt text alt text Thanks for your help :)

Product Version: UE 4.8
Tags:
image4166.png (341.2 kB)
image4177.png (354.3 kB)
more ▼

asked Oct 10 '15 at 12:19 PM in Blueprint Scripting

avatar image

R4c1o
24 6 7 8

avatar image Prestonator Oct 10 '15 at 01:25 PM

You're casting to a blueprint called "Highscore" could you take a picture of that blueprint?

avatar image R4c1o Oct 10 '15 at 01:28 PM

there are nothing, only an integar called NumberofClicks, which is incrased when i destroy actor. Only this variable, and nothing else

avatar image Prestonator Oct 10 '15 at 01:38 PM

Ah alright, have you tested to see if the cast is failing? Print a string called "cast failed" from the cast failed parts of the casting nodes, if it prints your strings, that's the problem.

avatar image R4c1o Oct 10 '15 at 01:42 PM

i have added it, and still nothing, so the problem is in that the saver is not calling when i hit an actor?

avatar image R4c1o Oct 10 '15 at 01:52 PM

ok i propably found reason, on my mobile device not displayd the subtitles on the left side on screen, like it is in computer ( something like this red subtitle of lights ) so the saver i think is ok, but i don't know how to make to sho subtitles on device

avatar image Prestonator Oct 10 '15 at 02:00 PM

It doesn't print the string you added? Also, why are you saving the high score twice?

avatar image R4c1o Oct 10 '15 at 02:07 PM

one of this is saving, when the save is not exist, and second one is for the exist save

avatar image Prestonator Oct 10 '15 at 02:33 PM

Oh OK, well if your casting nodes are working I'm afraid I'm unable to help, this looks like it should be working, maybe someone smarter than me will be able to help you more than I could, sorry about that

avatar image R4c1o Oct 10 '15 at 02:35 PM

Don't worry :) Thanks for your time and patients! Good luck friend :)

avatar image Prestonator Oct 10 '15 at 02:41 PM

Good luck with you as well :)

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

0 answers: sort voted first
Be the first one to answer this question
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