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"

welding torch for doors

hey everybody.

interesting idea here, i want to be able to weld a door shut and cut it open again. So simply a locked door that you lock and open by pressing and holding a button down while stood infront of it. maybe while line tracing at a specific part of the door

ive done keycard doors and combination locks and stuff like that, but i dont know how to set up a press and hold timer.

any help?

thanks

Product Version: UE 4.12
Tags:
more ▼

asked Feb 25 '17 at 11:48 AM in Blueprint Scripting

avatar image

phaeton1911
11 3 9 14

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

2 answers: sort voted first

From the key or input action key use a delay and a bool to check if the key is still down by getting the player controller and then the Is Input Key Down and connect that to a branch alt textlike this:

iskeydowncheck.png (74.3 kB)
more ▼

answered Feb 26 '17 at 07:03 AM

avatar image

Black Phoenyx
4.2k 165 9 170

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

perfect my friend, got it working first time.

more ▼

answered Mar 07 '17 at 11:01 AM

avatar image

phaeton1911
11 3 9 14

avatar image Black Phoenyx Mar 07 '17 at 12:15 PM

Great, don't forget to mark this as resolved/answered.

(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