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"

Headshot Blueprint not working?

So I created a simple wave-based enemy game that I am building just for practice to learn more and somehow I broke the "headshot" ability and I cannot figure out why. I have literally torn everything in it I had apart and rebuilt it but there's no errors and no sign as to why it's not working. I must be missing something somewhere..

Can someone help advise me on what I am doing wrong or how I can fix this problem?

Here's what I have for my AI at the moment. It's just a big cube with a little cube on top for it's head: alt text

And here's what I have for the headshot blueprint: alt text

Any ideas?

Product Version: UE 4.16
more ▼

asked Jul 06 '17 at 12:42 AM in Blueprint Scripting

avatar image

113 14 22 26

avatar image kusokuso1 Jul 06 '17 at 01:06 AM

Hey Deygus, Can you show the collision settings for the cube that serves as the head?

Also, for the effect location in the second screenshot, what is using that location?

I'm not exactly sure on what the headshot ability entails (how it gets called and what it may do aside from doing extra damage).

avatar image Deygus Jul 06 '17 at 01:25 AM

Hmm, I forgot about that so I am looking into it more. Sorry for not being more detailed and thank you for the assistance.

Here's what I have currently for the head cube's collision: alt text

I am trying again now with this to see if I am forgetting something there.

Also, here's the headshot effect that is connected to the headshot: alt text alt text

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

1 answer: sort voted first

I assume your Cube has no Socket -> Use World location instead. And you did not Connect your Spawn Emitter At Location to anything (white wire input) it gets never called. Did not See the Cube Asset itself but make sure the Asset has proper Collision Box. Collision Settings cant say anything about that have to know the Projectile/Trace settings first.

more ▼

answered Jul 06 '17 at 02:12 AM

avatar image

7k 143 28 172

avatar image Deygus Jul 06 '17 at 02:24 AM

Yes, that's correct, the cube doesn't actually have any sort of socket added to it anywhere.

I'll check on this to try to figure it out more. Thanks for the advice.

(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