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"

I need help with mouse interactions

So I've been using UE4 for a week now and i need to know how to be able to activate first person interactions with the mouse key , i.e : i need to be able to interact with all objects with the mouse cursor (open doors , pick up items , etc.) very similar to the game "Gone Home" , if someone could show me a blueprint that i could use it would be much appreciated , thanks beforehand , please answer , i'm begging

Product Version: UE 4.9
more ▼

asked Oct 24 '15 at 01:46 PM in Blueprint Scripting

avatar image

1 1

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

1 answer: sort voted first

There are multiple ways to show the mouse cursor and enable mouse interactions and make it interact with objects (actors). In blueprints, you can get your playercontroller and enable the default MouseEvent booleans to true when you need it (Set ShowMouseCursor = true, set EnableClickEvent = true):

alt text

Now you should see a mousecursor in your game. If you want to make an actor react on a click, go into it's blueprint and select the corresponding event for that and drag&drop it into the EventGraph: alt text

You should also ask yourself at which point you want to enable the mouseinteractions in your game: when he opens a menu, presses a certain key or always during the game?

more ▼

answered Oct 24 '15 at 02:35 PM

avatar image

115 8 11 17

(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