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"

Behaviour Tree not switching selectors

Hey everyone,

I am having a weird issue I set up my pawn sensing component and I have a OnSee function that sets the target of the blackboard to the object it sees. I then have a part in my tick that checks the last seen time and will set the sensed bool to false and will set the targetEnemy blackboard to null. If you watch the video you can see it getting set and then going to null but my tree isnt switching selectors :( I would love some help thanks so much!

See player & not sense code: My spotting functions

Video of it in action: Youtube video of it happening

Product Version: UE 4.10
more ▼

asked Mar 03 '16 at 10:36 PM in C++ Programming

avatar image

1 3 6 8

avatar image Kevin.Soares7 Mar 04 '16 at 08:08 PM

Still can't find a solution if anyone has anything at all i would love to hear it.

avatar image rantrod Mar 05 '16 at 03:51 AM

What is the decorator that doesn't seem to be aborting set to in Flow Control->Observer Aborts? It should be set to "Both".

avatar image Kevin.Soares7 Mar 06 '16 at 11:41 PM

This worked! Thank you very much!

(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