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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

How do I make an elevator with buttons?

Hey guys, I'm making an elevator that will play a matinee when a button is clicked. The problem is, I have a panel set up that displays a UMG widget upon overlapping a box trigger and I can't figure out how to get the matinee to play when the button is clicked. I know how to make a matinee play based on an overlap, but I can't seem to reference the functions I set up to make the character move when the button is clicked. To be clear, I want to make the matinee play when the button for a specific level is clicked so I can use the elevator to travel to different levels in the game.

Product Version: UE 4.10
Tags:
more ▼

asked Feb 04 '16 at 10:19 AM in Blueprint Scripting

avatar image

Entropikz
113 18 22 26

avatar image Narghile Feb 04 '16 at 10:36 AM

Got any pics of you blue print to help.

I am guessing all the Mat are done?

Narg

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

3 answers: sort voted first

Hey,

I haven't made an elevator tutorial, however this tutorial explains casting and it shows how to move an objects around in the world with pressing a button. This might help you.

https://www.youtube.com/watch?v=7wPhrve_vTA

more ▼

answered Feb 04 '16 at 02:23 PM

avatar image

CelestialCel
591 18 22 43

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

Hello

You can use a small box trigger near the "button" mesh, when you overlap the trigger, the boolean condition becomes true and you can activate the elevator pressing a Key. When the overlaps event ends the condition becomes false. This way is very simple and allow you to activate the elevator only if you are close to the button.

more ▼

answered Feb 04 '16 at 12:31 PM

avatar image

FilipeTessaro
1.4k 54 21 60

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

answered Feb 05 '16 at 04:55 AM

avatar image

Narghile
1.7k 74 38 110

avatar image Entropikz Feb 06 '16 at 12:20 AM

This is the closest answer out of all of them I think. Instead of using a matinee I am just going to use multiple timelines like he did in this video: https://www.youtube.com/watch?v=d9u9tJGEDmw I was trying to make a panel that had multiple levels you could access (floor one, floor two, floor three, etc...) so when you clicked a button it would cause the elevator to move so a specific level. I wanted to make the game seamless and didn't want to use a load level BP. I think the timelines will be the best way to do this though.

(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