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"

How to start the animation with the left mouse button?

I created the animation matinee with the switch joining in. He is acting well with OnActorBeginOverlap. I would like to start animation with the left mouse button. I placed trigger on OnClicked and is out of order. Do you have some ready solutions?

Product Version: Not Selected
Tags:
more ▼

asked Mar 17 '15 at 12:11 AM in Blueprint Scripting

avatar image

WhiteFennec
1 2 3 4

avatar image DG Gage Mar 17 '15 at 12:31 AM

Can you send a picture of your BP?

avatar image WhiteFennec Mar 17 '15 at 08:31 PM

Level blueprint. [img]http://i.imgur.com/DeJ5Eqj.png[/img]

avatar image DG Gage Mar 17 '15 at 11:19 PM

And the problem is that the OnClicked Event isn't working?

avatar image WhiteFennec Mar 17 '15 at 11:40 PM

Yes. I don't know how to set up input in character blueprint .

avatar image MechWolf117 Nov 07 '16 at 01:40 AM

I have a similar problem. Seems like Unreal doesn't currently posses a SIMPLE statement like this yet. I bet it would be easy to create a new node to solve this problem. But I don't even think that's possible either.

If character is in TriggerBox

And Key is pressed

Matinee Plays, and Sound Plays.

I'm baffled that Unreal doesn't have this yet.

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

1 answer: sort voted first

Hello Have you tried using a Gate node along with a FlipFlop to do this? Try something like this and tweak it to however you like.

alt text

This way the left mouse button only works when you are overlapped with whatever it is your want. You can get the LeftMouseButton input by just clicking right in your event graph and it should be under Inputs>MouseEvents

leftmousebutton.png (184.0 kB)
more ▼

answered Nov 08 '16 at 01:09 PM

avatar image

Nken418
353 11 3 14

(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