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"

two events triggering one action?

Hi guys, i'm new to this whole scripting thing so bear with me if i'm not making any sense or if this question has already been answered and im just looking for the wrong thing.

Basically i'm trying to allow the player to open a door by entering a certain range within a keypad and pressing the E key (2 seperate events). i have it working the only problem is the door opens when only one of the events (entering within the range or pressing the button) happens. how can i make it so that both events are required in order for the door to open?

Thanks

Product Version: Not Selected
Tags:
more ▼

asked May 04 '15 at 05:39 PM in Blueprint Scripting

avatar image

RWhittingham
1 2 3 5

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

1 answer: sort voted first

Hi RWhittingham,

The following tutorial covers exactly what you're attempting to do (Although it uses the F key).

https://wiki.unrealengine.com/Blueprint_Automated_Door_Tutorial

The particular part you would be looking for would be the 'Making a Usable Door' section near the bottom.

I hope this helps! Have a nice day,

Matthew Clark

more ▼

answered May 04 '15 at 05:57 PM

avatar image

Matthew J ♦♦ STAFF
31.8k 526 91 417

avatar image Matthew J ♦♦ STAFF May 12 '15 at 03:14 PM

Hi RWhittingham,

Have you solved your issue? It's been a while since we've heard from you so I will be closing this issue as resolved. If you do still require assistance, please feel free to comment and the issue will reopen.

Thank you

Matthew Clark

avatar image RWhittingham Nov 30 '15 at 07:44 AM

I realise I did not thank you for the reply Matthew, I must of got caught up getting it to work. Sorry about that, the tutorial helped a lot.

avatar image kingcrimson Nov 30 '15 at 05:45 AM

you make me realize again the vital importance of RTFM ...

avatar image RWhittingham Nov 30 '15 at 07:45 AM

You don't think I read the manual? As I said at the time I was completely new to scripting/programming of any kind. I knew what I wanted to do was possible I just didn't know a way to do it. And the UE4 documentation is not the most informative/explanatory tool for a beginner nor is it easy to navigate and find what you're looking for ...

(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