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"

Runtime Error!

Hi there, recently I have implemented a reading script which allows the player to pickup the newspaper and read it by displaying the texture. Ever since I have implemented that my interaction for my door system hasn't worked. I think that the scripts overlap each other in some way but I don't know how.

Here is the runtime error I receive: Blueprint Runtime Error: Accessed None trying to read property CallFunc_Create_ReturnValue from function: 'ExecuteUbergraph_Main_Level' from node: Remove from Parent in graph: EventGraph in object: Main_Level with description: Accessed None trying to read property CallFunc_Create_ReturnValue

Here is my script for the newspaper: http://prntscr.com/jbon77 http://prntscr.com/jbonc2

Here is the script for my door system: http://prntscr.com/jbonm7

Both scripts are located within the level blueprint.

Product Version: UE 4.18
more ▼

asked Apr 29 '18 at 07:02 PM in Blueprint Scripting

avatar image

3 1 5

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

1 answer: sort voted first

That happens because you're trying to access something that only exists in another execution sequence:

alt text

What is it you want to do here?

help.png (69.4 kB)
more ▼

answered Apr 29 '18 at 09:56 PM

avatar image

897 12 14 25

avatar image PizzaPeter1998 Apr 30 '18 at 02:26 AM

Im trying to make it so that once the user has finished reading the letter they can then press e again to remove the hud (newspaper) from the screen. For some reason when looking at it it only allows e to be activated within that script.

avatar image goncasmage Apr 30 '18 at 09:57 AM

Well what you're doing here is adding a Letter Widget to the screen, which is ok, but then you're trying to remove that widget, outside of its scope of creation, which isn't so ok :p What you want is to somehow get a reference to the widget that's in the screen (you can save the Letter Widget in a variable when it's created) and then, when you want to remove it, you reference that variable, instead of the node that creates that widget (which is outside the scope of the remove from parent node).

(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