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"

Why am i getting errors?

Hi, i am getting error messages and cannot figure out why. I am spawning a box trigger that then sets a boolean to true when the player is overlapping.(trigger blueprint) alt text

after the box trigger spawns, i am using an event tick and branch to check if boolean/overlapping is true but i am getting theese errors.alt text

If i swap the event tick for an input action (P) then i don't get the error messages and the function works but i need it to constantly be checking with the event tick. (level blueprint) alt text

any help would be appreciated, thanks!!

Product Version: UE 4.7
Tags:
trigger box.png (45.7 kB)
branch.png (47.9 kB)
error message.png (154.8 kB)
more ▼

asked Nov 08 '15 at 11:10 PM in Blueprint Scripting

avatar image

Soundguy
3 2 5

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

2 answers: sort voted first

My guess is that your event tick run and reference to your object when it hasn't been spawned yet, result in error message. So either you spawn your object, assign it to an variable, then reference that variable with your tick event, check for valid before doing anything else. or from the return value, drag is valid node, connect it with your tick event, then connect the branch node that check for heat bo to the valid out put.

more ▼

answered Nov 10 '15 at 03:13 AM

avatar image

CKong
874 27 18 49

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

Awesome, using the is valid node worked! thanks for your help!

more ▼

answered Nov 10 '15 at 08:53 PM

avatar image

Soundguy
3 2 5

(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