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"

I can't for the life of me understand Blueprint Communication

I've followed every single tutorial, but I'm still splitting hairs at what should be a seemingly easy thing to do. I am trying to update a score, and have it display on screen. I can get the text to display, and I can get objects to work as intended, but the damn score hidden away in a Game Blueprint wont update at all. I am truly at a loss, and its sort of pissing me off at this point that I can't solve a simple problem.

http://imgur.com/a/Wacpx

The first pic is of my Score Update The second is my Level Blueprint The third is my HUD

"Score" in both the HUD and the Editor reference my Game Blueprint that does the simple math behind score as an Object

And this is my logic: When the actor hits an object, run the function to add 100 points. My hud should be displaying the score called "sillyname" constantly, and reflect on this change. I keep getting nill errors when I run it.alt text

Product Version: UE 4.8
Tags:
pic4.png (101.7 kB)
more ▼

asked Sep 28 '15 at 07:04 AM in Blueprint Scripting

avatar image

ExohdaCameron
1 2

avatar image jayice Sep 28 '15 at 09:30 AM

whatever the the variable type is of score, it's set to "null" value, which is what "none" in the message means. So you actually have nothing to update the scoreboard with. Not to be a donkey, but I only see one image that is uploaded, hence can see nothing more than the message really, saying that score is equal to a null value.

Jay

IceWare

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

1 answer: sort voted first

It seems to me, you are just "referencing" your game mode. Did you set the "Score" variable to your current running game mode in your blueprints? Something like this...

alt text

more ▼

answered Sep 28 '15 at 10:30 AM

avatar image

emrahgunduz
168 13 15 21

(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