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"

Event overlap

alt text

I have a system where The player goes next to an npc and presses enter to communicate with the NPC. The text will only activate when I am at the edge of the sphere collider. How should I make the text activate while inside of the sphere. Thanks for the help.

Product Version: UE 4.7
Tags:
unreal.png (235.2 kB)
more ▼

asked May 28 '15 at 04:33 AM in Blueprint Scripting

avatar image

scifi6546
1 2 4 5

avatar image mirsabayu May 28 '15 at 04:55 AM

hemmm , i think the easiest way is just check the literal distance between your character and the npc.. (no need for collider things) - cheaper though. - i think

avatar image Narghile May 28 '15 at 05:15 AM

Mir, would that drag the game if he is constantly checking distance?

Narg

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

1 answer: sort voted first

Hi Mate

I would put a Sphere Trigger around you character, and run the Overlap on that.

Narg

more ▼

answered May 28 '15 at 04:38 AM

avatar image

Narghile
1.7k 75 38 110

avatar image Narghile May 28 '15 at 04:44 AM

Kinda like this

alt text

alt text

Narg

capture.jpg (52.8 kB)
capture.jpg (51.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