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"

Interrupting MoveTo task Behaviour Tree

Hi! Right now the AI character is able to patrol along different waypoints. What I want is if it has path to a character then it should stop it's current movement and move to the other character's location.

Right now it only check when it arrives to the next waypoint, if it detects that a character is inside then it goes after him. How do I make the third node have more priority, basically always checking that enemy is available.

alt text

Product Version: UE 4.18
Tags:
capture.jpg (83.5 kB)
more ▼

asked Feb 19 '18 at 02:19 AM in Blueprint Scripting

avatar image

Daurek
1 1

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

1 answer: sort voted first

Did you get this figured out?

I read another place where someone wrote the following:

Decorators check the validity in the beginning but it will get notified of the change and thus aborting if necessary.

Create a BlackBoard variable that tells your unit to execute the "run away from the giant" branch. This could be a boolean or maybe the object(Giant) to run away from. Then you can add a "Blackboard Based Condition" decorator on your Sequence, allow it down the branch only when the condition is met and let it abort on condition change.

You probably also need to create a Service to check if a giant exists nearby and alter the variable.

more ▼

answered Oct 16 '18 at 05:36 PM

avatar image

JohnADaniels
85 4 7 15

(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