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. 

Can't get AI Damage sense working!

Hi,

I can't figure out how to get damage sense working , even if the controlled pawn is taking damage , the damage sense is always false.

Sight and hearing are working without any problem .

Thanks!

Product Version: UE 4.10
Tags:
more ▼

asked Dec 22 '15 at 06:37 PM in Blueprint Scripting

avatar image

jimmyJ
33 2 4 7

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

4 answers: sort voted first

Hello,

Currently, Sight and Hearing are the only two senses that are fully implemented and working. Damage has not been fully implemented as of yet, which is why you are having trouble getting it to work. There is currently no timeline for when this will be implemented.

Have a great day,

Sean Flint

more ▼

answered Dec 22 '15 at 07:11 PM

avatar image

Sean L ♦♦ STAFF
43.6k 485 152 442

avatar image Ryan Darcey Dec 17 '16 at 12:36 AM

Any update on this feature in the latest release? I'm able to use Sight and Hearing successfully, but running into strange behavior w/ damage sense.

avatar image Mhousse1247 Dec 17 '16 at 09:03 AM

unfortunately it is not implemented yet !

avatar image wukakuki Jul 20 '17 at 08:50 AM

Any Update?

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

So I don't know if something has changed or the staff just did not have the full story at the time -- however as of 4.15, you CAN get the damage sense working, but you have to report the damage notification yourself.

It kinda/sorta makes sense because HP/MaxHP are not actor/pawn/character concepts, even tho damage is. So in whatever method you use to actually alter the HP, just invoke ReportDamageEvent

In C++ you can call

#include "Perception/AISense_Damage.h" ... UAISense_Damage::ReportDamageEvent(...

or from blueprints just call ReportDamageEvent

more ▼

answered Aug 11 '17 at 05:34 PM

avatar image

Gedden
66 3 5 9

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

I'm running into the same problem. Why is this feature included if it hasn't been fully implemented/ is half working?

more ▼

answered Jun 25 '17 at 02:34 PM

avatar image

Fa1nT
6 1 1

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

You can build a solution manually by damage event.

more ▼

answered May 10 '18 at 11:52 AM

avatar image

MASSIVE Can
26 2 3

(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