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"

The left mouse button event in my actor blueprint class only works with one actor from the class and not the others

I am pretty new to unreal so please correct my blue print code if something is wrong. So I am trying to create a blueprint class that controls multiple actors in my class. This class is suppose to allow me to select whichever actor my mouse is currently on top of and move it around in 3D space. The left button click selects and the release deselects the actor. It works really well with actor from the class but when I try to select the other actors linked to the same blueprint class it doesn't show that the left mouse click is working so they never get selected. Any one have any suggestionsalt text

this is what I have in my blueprint class

Product Version: UE 4.8
Tags:
blueprint.png (223.8 kB)
more ▼

asked Jun 25 '15 at 02:51 PM in Blueprint Scripting

avatar image

KikyoPorter
22 15 17 17

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

1 answer: sort voted first

I figured this out myself after playing around some more but it seems you can only have one general mouse event for your project so I set it up inside my player controller class and I am adding all my mouse events to that class and having the other blueprints call on that class

more ▼

answered Jun 29 '15 at 06:08 PM

avatar image

KikyoPorter
22 15 17 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