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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Why Can´t I Set BlackBoard Value as ACTOR?

Isn´t it possible to SET the BlackBoard Value as ACTOR? only as Object?

If so, why??? I can GET, but not SET?

I´m inside a Behavior Tree: alt text

Product Version: UE 4.10
Tags:
actor.png (306.1 kB)
more ▼

asked Jan 05 '16 at 08:32 PM in Blueprint Scripting

avatar image

FilipeTessaro
1.4k 54 19 60

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

2 answers: sort voted first

Hello,

Using Object instead of Actor should give you the same results. Object is a basic class, so technically an Actor is just a subclass of Object. For my AI setups, I typically use Object and I've never run into any issues.

Have a great day

more ▼

answered Jan 05 '16 at 08:57 PM

avatar image

Sean L ♦♦ STAFF
43.6k 485 152 441

avatar image FilipeTessaro Jan 05 '16 at 09:45 PM

Hi, thanks, but the problem is a node that only accept an actor reference, and my object reference isn´t acepted, can´t hook them because of this, but I will find another solution, thanks

avatar image Sean L ♦♦ STAFF Jan 06 '16 at 01:10 PM

Could you explain exactly what sort of setup you are trying to achieve? Also, could you provide a screenshot of what you currently have set up? Thank you.

avatar image FilipeTessaro Jan 06 '16 at 01:56 PM

Hi Sean! No problem, you were right, as an object is also an actor I have managed to find a solution, so thanks again!

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

i have the same problem, pls tell me, how do you fix this?

more ▼

answered Sep 05 '18 at 04:06 PM

avatar image

JonnyMachony
1

avatar image Sean L ♦♦ STAFF Sep 10 '18 at 01:16 PM

Hi JonnyMachony,

A general suggestion I could offer would be to try to set the Blackboard value as an object, and then if you need to use it as an input for something that accepts an Actor reference you can cast your object reference using a Cast node into the actor that you'd like to pass in.

Something like this:

alt text

Let me know if that helps.

(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