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"

What do I need going into the exec pins for start and open?

Hey everyone. I'm trying to BP a strafe. The first order of business is of course, driving that movement via key press, and I saw here that it's best powered by a gate node with a very similar issue as I have. There was a staff answer, but the person never outlined their exact solution, and I'm not getting it based on the documentation alone. I've tried a couple of different things, all to no avail. The best I get is being able to press the key multiple times to get an output.I tried to do it with a while loop, but I think it is checking on every frame, causing the engine to crash.

I guess my main problem is what I need going into the exec pins for start and open? To the best of my understanding, and to use a medieval reference it goes like this:

Enter: Scout arrives yelling "open the gates!"

Open: Gate stays open until scout is in castle.

Exit is what the guards do while the gate is open.

Close is "enemies approach, close the gate!" (an express statement, that seems to be optional)

Product Version: Not Selected
Tags:
more ▼

asked Jun 07 '14 at 10:48 PM in Blueprint Scripting

avatar image

Akuthia
8 8 10 14

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

1 answer: sort voted first

ok what are you trying to do with the logic gate?

Basically a gate is open it passes the FLOW of information. So you would use a gate to control when that happens.

So the pins work that your flow of information is the ENTER and the Open and Close control that flow to the exit.

Toggle works like it sounds instead of having an UP and Down switch its more like a pushbutton so it changes the Open and Close each time it is activated.

more ▼

answered Jun 08 '14 at 02:22 AM

avatar image

DJMidKnight
1.2k 50 24 51

avatar image Akuthia Jun 08 '14 at 02:47 AM

Well, I'm trying to control movement, so when the key is pressed, and continues to be pressed, movement occurs in the direction programed, and when the key is released, movement stops.

avatar image DJMidKnight Jun 08 '14 at 04:33 AM

what kind of movement because I don't think you need to use a gate for that.

avatar image Akuthia Jun 08 '14 at 11:48 AM

Sorry, this is what i get for trying to do this stuff while tired, and having weak googlefu. I didn't realize that the input controls werent hard coded, I thought i had used them... lol...

(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