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"

Press button to play Matinee

Basically, you would walk into a box trigger, it'll display text and by pressing a button, it'll trigger a matinee I've set up. How would I do this?

Product Version: UE 4.10
Tags:
more ▼

asked Dec 10 '15 at 05:35 AM in Blueprint Scripting

avatar image

SoraJr
263 61 52 66

avatar image SoraJr Dec 14 '15 at 08:08 PM

I'm not sure why this isn't working alt text

capture.png (167.3 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

After about ten minutes I figured it out, for two different matinee to play independently of each other.alt text

alt text

1.png (406.2 kB)
2.png (397.5 kB)
more ▼

answered Jan 01 '16 at 06:28 PM

avatar image

SoraJr
263 61 52 66

avatar image FilipeTessaro Jan 08 '16 at 02:47 AM

ok, good! so this one is closed too, see you!

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

I Created a simplified example

When you enters the trigger box, it SETs the "CanTurnsOn" varibale to TRUE and show the message: "Press "G" to Play Matinee"

If the player leaves the trigger box, it SETs the variable to FALSE

This way, it will only plays the Matinee if the player is inside the trigger box, if not, the G key will have no effect! See the image BP:

alt text

Hope it helps you!

trigger to play.png (442.1 kB)
more ▼

answered Dec 23 '15 at 09:53 PM

avatar image

FilipeTessaro
1.4k 54 19 60

avatar image SoraJr Dec 27 '15 at 05:43 PM

Thank you, it's working. But I have two matinee I want to play by pressing one button, in the same level. When I press the button for one to play, the other plays too. I don't want two to play, just one of them to play when I enter their own trigger box

avatar image FilipeTessaro Dec 31 '15 at 02:15 AM

at you blueprint, check if the input is being consumed, that must be the problem!

avatar image SoraJr Dec 31 '15 at 09:41 PM

I'm not as good with anything programming related, like blueprints, like I am with everything else. But I've set it up like this!alt text

alt text

1.png (349.6 kB)
2.png (354.2 kB)
avatar image FilipeTessaro Dec 31 '15 at 10:11 PM

does it works properly? if yes, well done! don´t worry about your BP set up, it is a personal set up, no one can tells you how to programming, the goal is to works, hehe

avatar image SoraJr Dec 31 '15 at 11:36 PM

Yeah the button press works, but plays both matinee I have in the level one after another. I don't know how to check if the input is being consumed.

(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