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"

Problems checking if Certain actor is overlapping trigger volume

I'm having trouble detecting if my Spawned Grenada actor is overlapping the trigger volume i have on my level and i'm probably missing something simple or doing it just wrong and after countless google pages have still came up with nothing,

Here are a few of the setups i have tried

These were placed in my Level Blueprint

This First one got me no where it doesn't even detect that it there neither throwing off a true or false alt text

This second setup, i tried at least detects something overlapping but both come up false, it will print out

Player Character, False

and when i drop a grenade it prints

SK_G67, False

alt text

So it is detecting and triggering, i Just don't understand why it comes up as false The Variable i am using is set to the grenade blueprint actor, i tried making it public and replicating it which i don't think i need to, and i'm fresh out of ideas at this point.

Product Version: UE 4.21
test1.png (252.1 kB)
test2.png (272.0 kB)
more ▼

asked Apr 08 '19 at 04:58 PM in Blueprint Scripting

avatar image

3 1 2 7

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

1 answer: sort voted first

lets begin with the solution, your second picture is on the right track so working with that lets get rid of the equal and the branch and replace them with a cast to grenade class.

currently the issue with the second one is that you are testing to see if the overlapping actor is a specific instance of grenade so asking is it a specific grenade rather than just asking it is a grenade (dont care which grenade just that it is a grenade). as it is you would need to set the grenade variable to the one that you spawn and that happens to be overlapping, thats a bit more trouble than its worth. so you can use a cast instead and it will handle things with ease.

more ▼

answered Apr 08 '19 at 10:00 PM

avatar image

10.1k 33 9 23

avatar image Nebula Games Inc Apr 08 '19 at 10:48 PM

To supplement Thompson's answer here is a link to some beginner videos that may be helpful to you for further understanding "casting" and "references". Particularly #1 and #25 are directly related to this issue.


avatar image NewFunLand Apr 08 '19 at 11:58 PM

Hey Thanks that's exactly what i needed to do, every thing is working great, now just got through make triggers for other rooms and put em into and array and ill be ready to go. thanks again!!

here what i ended up with if anyone else comes across this alt text

and thanks for the link nebula i will definitely check it out i always run into seemingly small stuff that snags me up

bp3.png (247.6 kB)
(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