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"

onSeePawn - Distance not working.

I'm working on a horror game and there's a bit of an issue I'm getting when scripting my pre-alpha AI. Perhaps I haven't worked long enough with blueprints, but I'm getting the feeling that onSeePawn and blackboard do not recognize when there is a float labeling the distance between the player and AI needed for it to chase after the player.

Is there a way to have the AI not able to see the player until, let's say, 300 unreal cm?

This is the code I have so far... I know that the onSeePawn doesn't have a location, but how would I go about detecting the location for the player vs. AI in that AIController?

link text link text

Here is also a picture of the temp AI bot with his senses showing (notice, the distance for the onSeePawn is only 300 cm, yet, it detects me more than 10000 unreal cm away.

link text

Product Version: UE 4.8
Tags:
more ▼

asked Jul 12 '15 at 06:40 PM in Blueprint Scripting

avatar image

Crisosphinx
6 1 1

(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