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"

How do you call a blackboard value...

How do you call a blackboard from the player character. I am using the top down character template blueprint.

So far

Fig 1


I'm trying to get the actor I clicked to be set as my "Target" in my blackboard Data "TargetKey" but whenever I call the blackboard via a reference to my AI I get a error saying that none are trying to read the call function for get blackboard.

Is there any other way to set a value as an object in the blackboard outside of the AI controller/character? Fig 2 Fig 3

As you can see I'm trying to get the blue actor to attack the red actor. both are AIs with different trees. but whenever I try to set one of the red actor as the target (when clicked) I get the error as seen in the third image.

Product Version: UE 4.11
Tags:
question2.png (281.2 kB)
question2a.png (377.6 kB)
question 2b.png (325.0 kB)
question 2c.png (35.6 kB)
more ▼

asked May 19 '16 at 03:13 AM in Using UE4

avatar image

Zellith
11 4 6 9

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

1 answer: sort voted first

Nevermind I feel so stupid trying to call a blackboard key outside of the AI controller. I fixed it

in steps:

  1. Check what's under my curor.

  2. When clicked check if what I clicked is a valid actor.

  3. If valid set it as target.

more ▼

answered May 19 '16 at 04:15 AM

avatar image

Zellith
11 4 6 9

(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