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 I exempt a character from Perception?

Hello. I have 5 characters, all using the same AI and player controllers with both controllers having AI Perception enabled. As a player, I can perceive the other 4 characters. The other 4 AI controlled characters can also perceive me, the player. The functionality I am looking to implement now is of this nature:

  1. On the trigger of an event, for example, a button press, the character I am controlling as the player, should stop being perceived by the other characters.

  2. On the trigger of another event, the character I am controlling as the player should be able to be perceived by the other characters.

Basically, I'd like to be able to 'hide' and 'reveal' my character on the perception radar of whichever character is trying to perceive my character. The perception sense in use here is Sight. The controllers only have the AI Perception component. They do not use the AI Perception Stimuli Source component, as with only the AI Perception component, they already act as sources and can sense other sources of stimuli.

How do I do this? How do I exempt a character from Perception?

Any help is greatly appreciated. Thanks!

Product Version: UE 4.11
Tags:
more ▼

asked Jun 07 '16 at 01:33 PM in Blueprint Scripting

avatar image

Maxx_Rexx
26 1 2 4

avatar image SNMX Jun 22 '16 at 07:09 AM

That looks like you should not remove your character from perception but just stop react on him within your AI.

avatar image Maxx_Rexx Jun 22 '16 at 03:13 PM

Thanks for actually replying, +SNMX. Yeah, that's actually a good idea. I'd still like to know if exempting an already being perceived character from perception is possible though, for technical reasons at least.Thanks!

(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