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"

Applying damage to server

I`m trying to make a multiplayer shooter in which the projectile deals damage on impact. Thing is, only the server can deal damage. Clients can spawn their projectiles but can not deal damage. This is the setup i have: alt text

Spawning projectile: alt text

Projectile dealing damage: alt text

And character receiving damage: alt text

Event AnyDamage doesnt fire at all when the client tries to hit the server. Can someone explain what am i doing wrong?

Product Version: UE 4.12
Tags:
capture.png (208.7 kB)
capture.png (228.8 kB)
capture.png (140.3 kB)
capture.png (101.5 kB)
capture.png (134.2 kB)
more ▼

asked Jun 06 '16 at 12:32 PM in Blueprint Scripting

avatar image

Noobops
26 5 4

avatar image Noobops Jun 09 '16 at 05:22 PM

I have experimented for a bit and looks like my weapon reference doesn't get passed to the server. IsValid always returns not valid, which makes even less sense to me. alt text

516541d56asdsa.jpg (251.6 kB)
(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

I went through most of my blueprints looking for what i did wrong and managed to fix it. Apparently i don't understand how replication works, hope this helps somebody. alt text alt text alt text alt text

1.jpg (222.1 kB)
2.jpg (195.6 kB)
3.jpg (192.4 kB)
4.jpg (235.7 kB)
more ▼

answered Jun 14 '16 at 04:52 PM

avatar image

Noobops
26 5 4

(comments are locked)
10|2000 characters needed characters left
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