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"

Apply damage returning value but Event Any damge never fires

I am trying to make a simple damage system that works for network play based on dedicated host. I am using apply damage on the projectile to apply damage to whatever it hits. Im using prints to see where the event chain stops and apply damage is getting the correct object to hit and returning that it applied damage but event anydamage is not firing on the hit body.alt text

alt text

Product Version: UE 4.17
Tags:
screenshot-5.png (94.9 kB)
screenshot-4.png (201.6 kB)
more ▼

asked Sep 05 '17 at 01:14 PM in Blueprint Scripting

avatar image

Twitch_Blade
6 1 2 2

avatar image OptimisticMonkey Sep 05 '17 at 01:49 PM

Are you firing the damage on the client or the server?

avatar image Twitch_Blade Sep 05 '17 at 01:52 PM

Apply Damage only fires on the server so if it wasnt firing then it wouldn't print the second string in that line of its return value which outputs 20.

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

1 answer: sort voted first

I found the solution or rather what i was missing after hours of tinkering the event any damage will not fire on the player controller because the player character is getting damaged.

more ▼

answered Sep 05 '17 at 06:52 PM

avatar image

Twitch_Blade
6 1 2 2

(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