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"

4.2 Blueprint "AIMoveTo" doesn´t trigger "On Success"/"On Fail"

Hi there, I think with 4.2 there´s a problem with the "AI MoveTo" node.

It no longer triggers "On Success" or "On Fail", just always the standard output pin. The "Movement Result" is changed now, too. Its always at "Success".

I don´t think its supposed to work this way, is it?

Here is my Blueprint, I´m using it in a Behavior Tree Task. alt text

Thanks in advance!

Product Version: Not Selected
task_move.png (117.9 kB)
more ▼

asked Jun 04 '14 at 07:37 PM in Bug Reports

avatar image

36 4 6 8

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

1 answer: sort voted first


The biggest problem I see is that we exposed AIMoveTo to be used in blueprints. It has never been finished and tested, and has never been guaranteed to work. We'll have to address it one way or another in near future.

However you don't have to use it at all. Behavior trees already have a dedicated task for moving AI - why aren't you using that one?



more ▼

answered Jun 04 '14 at 08:03 PM

avatar image

MieszkoZ STAFF
7.3k 225 57 413

avatar image DerMaddin Jun 04 '14 at 08:11 PM

Oh Ok, thanks!

Yea it was more of a work around for me. My problem with the dedicated move task is that I didnt found a way to do checks while moving, the behavior tree waits till the move is entirely finished. What I want is while moving to verify if I still need to move on and, if not, to stop.

avatar image MieszkoZ STAFF Jun 04 '14 at 08:49 PM

There's a number of ways to achieve that with our BTs! :D It depends on what you want to observe while AI is moving, but the most basic case is to have a BT service that observes whatever you need and modifies values in blackboard while a BB-observing BT decorator is guarding move task's execution. The move will get aborted as soon as guarding condition fails (provided the decorator was set to "abort self" or "abort both").

avatar image DerMaddin Jun 05 '14 at 09:24 PM

I migrated it now successfully, thanks for the advice, it really forced me to tidy my BT design up and to improve it!

avatar image CharlieTheTall Jun 05 '14 at 02:59 AM

Is there any danger in using BTs if it's still experimental? There was a video form Epic on Twitch saying to be very careful using experimental stuff and that it could all change / not work when it eventually rolls out. That's the only reason I'm doing all of my states in Blueprint. I'm just apprehensive that I'm going to lose all of my work.

avatar image MieszkoZ STAFF Jun 14 '14 at 10:41 AM

Behavior Trees are said to be experimental only due to the tools needing some more polishing work. If you start using BTs now there's no threat of loosing your work. We're using BTs extensively in Fortnite and we'd mess ourselves up if we broke them.

avatar image Mach45 Apr 08 '15 at 01:00 PM

Hi, not sure if this thread is still running, but a quick question about Mieszkoz answer above (9:49) "is to have a BT service that observes whatever you need and modifies values in blackboard", how can you get the service to run in parallel to the task?

avatar image MieszkoZ STAFF Apr 08 '15 at 03:30 PM

I'd much rather have you open a new thread asking this questions, but in short, BT services by design tick "in parallel" to tasks. I say "in parallel" since the actual "tick" function call is done as part of BehaviorTreeComponent's tick, but it's done independent of the task (provided the task is a leaf of the branch the service is sitting on).

avatar image Mach45 Apr 15 '15 at 02:06 PM


(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