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"

Player doesnt recieve damage from AI

Hayhoo <(°-c° >)

So my player doesnt recieve any damage when my AI shoots at him, (they both use the exact same projectile) however if I make my projectile slow enough and hit myself I recieve damage... I used a print event so I could see what the projectile is hitting and now to the even more strang part, the projectile actually hits the player and runs the apply damage node. One idea I had to what was causing this problem was that maybe the signal is to short? Any solutions?

Sincerely, Knikki

alt text

alt text

Product Version: UE 4.5
Tags:
playerbp.png (616.9 kB)
projectilebp.png (516.9 kB)
more ▼

asked Jun 02 '15 at 04:14 AM in Blueprint Scripting

avatar image

KniknokOne
23 17 11 14

avatar image KniknokOne Jun 02 '15 at 04:20 AM

I just tested if the AI can shoot at another AI but that also didnt work.. again the bullet actually hit the other AI

avatar image Narghile Jun 02 '15 at 04:24 AM

Hi Mate,

I assume the Print string is firing in both BPs?

Narg

avatar image KniknokOne Jun 02 '15 at 04:29 AM

Nope sadly not only the one in the projectile BP

avatar image Narghile Jun 02 '15 at 04:37 AM

Ok

You could try on contact instead of overlap.

Use this as a Test in you projectile. Make sure you cast to the right Player Character, I am using 3rd person.

alt text

Narg

capture.jpg (44.6 kB)
avatar image Narghile Jun 02 '15 at 04:42 AM

Sorted at least, on to the next stage now.

Narg

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

1 answer: sort voted first

Like whaaat?? I replaced the apply damage node with the exact same node and suddenly it worked...

more ▼

answered Jun 02 '15 at 04:37 AM

avatar image

KniknokOne
23 17 11 14

(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