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"

Using blackboards outside AI

According to this. I should be able to use blackbaords anywhere I want and using blackboards in blueprints should be enabled. However, when I go to use it in blueprints, it simply gives off an error due to the fact that it requires an AIController input.

The reason I would like to use Blackboards is so that I can set-up custom movement for the character based on player click location (ie, grabs world location of cursor click and moves to that location and avoids obstacles). According to what I have read, the best way to go about this is to use blackboards but this only references AI which I don't think is suitable for my purposes.

Any help on this is greatly appreciated.

Product Version: Not Selected
Tags:
more ▼

asked Mar 16 '15 at 05:08 AM in Blueprint Scripting

avatar image

ReallyGoodPie
35 6 10 13

avatar image ScottSpadea Mar 16 '15 at 06:00 AM

you want a character to move to a destination, while avoiding obstacles, but you don't think AI is suitable for that purpose? why don't you want to use an AI controller?

avatar image ReallyGoodPie Mar 16 '15 at 06:10 AM

I am relatively new to UE4 and everything I have done has been based around player controllers. Are there any major drawbacks? The character is the only one the player will control.

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

1 answer: sort voted first

In general nothing should be stopping you from using Blackboards without AI, but it haven't been tested really. I'd love to hear more on what kind of errors you encounter. One thing I've noticed while skimming through the code was that you're unable to add a BB component to BP actors in 4.7. This has already been addressed in 4.8.

Regarding the root cause of your question: have you looked at top-down template? It has a pathfinding player controller (basically using SimpleMoveToLocation and SimpleMoveToActor).

Let me know if you have any further questions.

Cheers,

--mieszko

more ▼

answered Mar 16 '15 at 02:37 PM

avatar image

MieszkoZ STAFF
7.3k 225 57 413

(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