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"

want to make it so you have to press before an event

I want to make a condition where the letter H has to be pressed before the spawn actor can be active

Product Version: UE 4.16
Tags:
cage.png (88.8 kB)
more ▼

asked Feb 19 '18 at 04:30 PM in Using UE4

avatar image

JoshKnightDesign
3 1 1

avatar image ThompsonN13 Feb 19 '18 at 05:54 PM

so to clarify your looking for the begin overlap event to not be able to trigger until you press the h key? or do you want to overlap, then not spawn until the h key is pressed?

i would suggest looking into the gate node.

another solution would be to use a Boolean variable and a branch. for example on begin overlap set the bool to true. then off of the h input have a branch that checks is the variable is set to true.

avatar image JoshKnightDesign Feb 20 '18 at 04:39 PM

not being able to be triggered till the H key is pressed

avatar image ThompsonN13 Feb 20 '18 at 05:17 PM

below are examples of the two solutions described in my above post.

alt text alt text

capture.png (202.8 kB)
capture2.png (97.5 kB)
avatar image Dune Feb 20 '18 at 05:12 PM

Based on Thompson's answer:

alt text

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

0 answers: sort voted first
Be the first one to answer this question
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