Accessed None in Object var
I'm a bit confused by accessing another blueprint's variables and events.
Even if I use Cast to CustomHUD I still get the same errors in log as are shown here. Everything seems to be specified ... the var, the class_C and the Custom Event (ScoreEvent).
If I use Cast to CustomHUD I get a Cast Failed (from printstring out of Cast Failed output).
asked Mar 29 '14 at 05:58 AM in Blueprint Scripting
Based on the errors in the message you are running this from the construction script. The construction script is run when the object is placed in the world or spawned. It is very likely that you HUD does not yet exist. I can't really tell from your naming what class this is running in, nor can we see where you set the HUD variable, so beyond that I'm not sure I can help more at the moment, but in general I would imagine that calling this from BeginPlay in the EventGraph is going to get you closer to working.
answered Mar 29 '14 at 02:13 PM
Marc Audy STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here