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 do I fire an event from a key input action?

Hi everyone. I am trying to set up a system where upon pressing F it activates the torch and begins to deplete the battery. Can anyone help me and tell me what I need to do to activate the Deplete Battery section once I hit F? I've tried event ticks and branching, but none of it seems to work.

Sorry if this is an obvious solution, my first go at trying something like this. alt text

alt text

Product Version: Not Selected
more ▼

asked Jan 17 '15 at 02:15 PM in Blueprint Scripting

avatar image

6 2 3 6

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

1 answer: sort voted first

Hi DazzNoob,

You have two options:

  1. Create a function and put the battery depletion code in the function

  2. Create a Custom Event and attach that to the battery depletion nodes

Then you can simply call the function or event from the appropriate Toggle Visibility node.

You can read more about Functions here:


and more about Custom Events here:


Hope that helps!

more ▼

answered Jan 17 '15 at 06:55 PM

avatar image DazzNoob Jan 17 '15 at 07:44 PM

Thank you.

I will try these both out.

(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