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"

Activating a matinee by button

ok basicly i want my players to be able to walk up to lets say a draw click E and the draw opens i also want them to be able to close the draw with E ive looked around a bit and couldnt find anything that worked properly helps appricated

Product Version: UE 4.11
more ▼

asked May 11 '16 at 08:37 AM in Blueprint Scripting

avatar image

55 3 6 12

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

2 answers: sort voted first

I'm not sure if I understood correctly, but I here's how you activate matinee by button. 1. Grab a box trigger into the scene 2. Open level blueprint and with it selected, right click and (box_trigger) > collision > on component overlap 3. Select the matinee and right click in graph, "create reference to the (matinee_actor) 4. Drag from it and add a node "play matinee" or something I did this from mind so it might not work, but I tried

more ▼

answered May 11 '16 at 10:04 AM

avatar image

691 28 8 50

avatar image johnfg10 May 11 '16 at 10:32 AM

i meant more like click E to open draw draw opens another issue is there is 3 draws in the desk and i want the player to be able to open/close them indpendently

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

For your Drawer blueprint, you can load a widget that says the Press E if the player is close enough.

To detect pressing E then you could add an input event in the player controller for E. When it is pressed you can do a Line Trace and see if it hits your Drawer. If it hits then it tells the Drawer its been interacted with.

The drawer can have a function to be called when it is interacted with. I would not use a matinee for this if all it has to do is open. Maybe use a Timeline in the Drawer Blueprint that animates it opening when played and closing when reversed. Then in your interaction function you can just toggle between play and reverse on that timeline.

more ▼

answered May 11 '16 at 02:33 PM

avatar image

2.6k 98 16 97

(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