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"

Line Trace Not Finding Client When Hit By Ray

I'm making some AI for my game and in it the enemy fires a ray every tick and if one of them hits the player then it fires the projectile.

Here is the event this is the custom event hooked to the event tick function.

alt text

Here is the part that finds what was hit and if it hit a player it prints string Hit player.

alt text

The print string will fire on the server but not the client. I have tried setting the custom event to run on server multicast and every other option and nothing works. Thanks you for those that help me. Also how do I get my questions answered it's rare to get one of my questions answered.

Product Version: UE 4.10 Preview
Tags:
1st.png (108.5 kB)
capture.png (73.2 kB)
more ▼

asked Oct 21 '15 at 08:59 PM in Blueprint Scripting

avatar image

Sir_Enhance_Alot
0 7 3 5

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

1 answer: sort voted first

Try using line trace to object, instead of Channel

more ▼

answered Oct 22 '15 at 08:58 AM

avatar image

MrGrr
991 34 3 41

(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