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"

Custom events on AI character not showing up on Controller

Hi, I am trying to make an AI that attacks the player. But my custom events that I made in my character BP aren't showing up when I try to fire them in the Controller.

This is from my character BP. alt text

This is from my AI Controller BP. My other events I made in the character work fine when I try to access them from within the controller. The AI variable is a reference to the AI BP. alt text

Product Version: UE 4.19
Tags:
more ▼

asked Jul 20 '18 at 07:08 PM in Blueprint Scripting

avatar image

AgentArachnid66
7 3 5 11

avatar image Nebula Games Inc Jul 20 '18 at 09:54 PM

How do you access those "other" events that work? I am guessing those events you fire from a character reference. You can't fire an event in a player character BP from an AI BP reference. The event is in the player character, in order to fire it from the AI controller you need a reference to the player character not the AI BP that the AI controller is the owner of.

(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