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"

Access/Expose AIController variables


Hi have a noob question.

I have 3 types of NPC.

A basic one (move and idle) An Aggressive one (move idle chase and hunt) A Scared one (move idle run away from you)

I made 2 blueprint

Basic NPC Char Basic NPC Cont

those 2 blueprint handle all the default things that occur with every NPC.

Now I'm doing the others one, but i have a problem. Since one patrol, one fly away from certain things etc... they need a different behaviour tree AND different variables.

I would like to set those variables in the Controller and put them in public, and edit them. I found more logic that the controller handle the custom params of those NPC and not put those variables in the character (maybe I'm wrong?)

The problem is, since the Aggressive NPC Cont is spawned ONLY when i press play, I can't edit those custom variables in the "inspector".

My question is, is it possible to expose the variables of the controller in the "inspector" before pressing play? Or do I must add those variables in the character ?


Product Version: UE 4.10
more ▼

asked Dec 15 '15 at 01:53 PM in Blueprint Scripting

avatar image


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

0 answers: sort voted first
Be the first one to answer this question
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