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"

Variable gets overwritten in BP?

Hi, I whant to save a variable in each TreeBP duplicate.

The lower graphic shows how the TreeBP should save the display name in IDName on the overlap event...

alt text

So when I walk next to the 3 TreeBPs over point 1,2,3 the BPs are debugging correctly, same by walking back again.

alt text

Now I whant to check if my Player ray (which is working right) hits a tree and if its in my reach... I am looking to Tree2 (spot 4 in pic.) pressing E and my debugging (pic. 3) prints me Tree3! It is working if i press E from the same spot by looking at tree3.

alt text

I had 2 thoughts A) the variable gets overwritten by moving to the next triggerbox (unlikely)
or B) the other triggerboxes get in somekind deaktivated and just one treeBP is doing something.

So I wonder why (pic.3) is not working correctly because at point 4 I am in every trigger and each tree should check if NameID is equal to the ray viewed object and one should output a true.

hopefully i discribed this coprehendable ;) thx in advance

Product Version: UE 4.8
Tags:
bp.png (155.2 kB)
bp3.png (65.6 kB)
bp2.png (415.2 kB)
more ▼

asked Jul 24 '15 at 12:24 PM in Blueprint Scripting

avatar image

T-low
78 4 11

(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