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"

why is OnClicked event so special?

I have a problem. I cant fire the OnClick event, and I don't understand why. Everything is working if i use Begin Cursor Over event, or just some keyboard button pressed event instead, but I need the actor to respond on clicks, I spent lots of hours while searching for reasons and trying to make it work but now I'm out of ideas.

Product Version: Not Selected
Tags:
more ▼

asked Dec 16 '14 at 10:58 AM in Blueprint Scripting

avatar image

axess21
67 9 15 19

avatar image axess21 Dec 16 '14 at 11:24 AM

By the way same thing happens if I map for example "f" key of the keyboard and "left mouse button" on the same action in project settings: the event fires only if I press "f", and nothing happens if I click.

avatar image axess21 Dec 16 '14 at 01:29 PM

interesting thing: i'v imported "clickblock" blueprint from "puzzle game template" and click event works on this blueprint, but i cant find what is diferrent about this blueprint.. this makes me mad...

avatar image axess21 Dec 16 '14 at 01:53 PM

I guess the question should sound like - what property of an actor is responsible for ability to be clicked?

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

2 answers: sort voted first

Make sure that "use mouse for touch" in Project Settings -> Input is not checked. Otherwise you'll be receiving touch events instead of click events.

more ▼

answered Dec 16 '14 at 03:00 PM

avatar image

Sneftel
480 21 21 40

avatar image axess21 Dec 17 '14 at 04:55 AM

This worked, thank you so much, my nerve cells finally feel good!

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

Is the blueprint actor in question capable of receiving input? There are flags for this in the default properties of the actor.

more ▼

answered Dec 16 '14 at 02:41 PM

avatar image

ambershee
603 23 30 52

(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