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"

Is there a way to customize the Kill Z behavior to have it's damage registered by 'EventAnyDamage' events?

Hi, I'm using 'EventAnyDamage' within my character blueprint to register any damage and make necessary changes like saving backups, before the actor is destroyed. It's working as intended in all cases, except when the player is destroyed by Kill Z damage.

In this case, 'EventAnyDamage' doesn't register anything and the first debug point that I can find is 'EventEndPlay'. I've tried using new Damage Type blueprints, but so far haven't found a way to register this damage within the character using only Blueprints. It can be done partially through other ways by checking in the 'Event Tick' of bots, but I'd prefer not to do it that way unless as a last resort because it won't cover the chance of some random actor falling through the world endlessly. And I really need to do this in blueprints, because this is for my blueprint toolkit in the Marketplace. Any ideas on how to work around this issue?

Product Version: UE 4.8
Tags:
more ▼

asked Aug 15 '15 at 11:03 AM in Blueprint Scripting

avatar image

Stormrage256
1k 82 75 118

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

1 answer: sort voted first

i ended up creating a custom blueprint actor with a box collision component, that overlaps with all object types. Everytime an actor overlaps, it check if it's a pawn. If pawn, then apply damage and let the pawn take care of the rest. Else if it's a different type of actor, just destroy it.

more ▼

answered Aug 15 '15 at 11:47 AM

avatar image

Stormrage256
1k 82 75 118

(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