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 enable triggers in order?

Greetings everyone!

I'm trying to trigger actions like sounds and animations by overlapping some trigger volumes. Nothing fancy but the problem is that triggers need to be triggerable in a specific order.

For instance; for trigger #2 to be enable, trigger#1 need to be overlapped at least once. for trigger #3 to be enable, trigger#2 need to be overlapped and so on...

Thank you for your time!

Product Version: UE 4.15
Tags:
more ▼

asked Mar 30 '17 at 06:52 PM in Blueprint Scripting

avatar image

flynneastwood
24 5 5 8

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Hey flynneastwood-

The easiest solution would be to use booleans to "block" the trigger from activating unless the previous one has already been triggered. For example, create a boolean "Trigger1Active" that is set to true once you've enabled Trigger1. Then from the overlap event of Trigger2, run to a branch that checks the Trigger1Active state and preforms its action if true. You can then repeat the process for all of the trigger volumes used.

Cheers

Doug Wilson

more ▼

answered Mar 30 '17 at 07:31 PM

avatar image flynneastwood Mar 31 '17 at 10:39 PM

It is working good! Thank you for that!

(comments are locked)
10|2000 characters needed characters left
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