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"

Need help triggering an event!!!

I have an actor blueprint and a character blueprint that have nodes in them.

I would like to attach one more node to trigger an event, so that I can put this event in my level blueprint and run some code from that event.

I am having trouble, does anyone have some advice?

Product Version: UE 4.9
Tags:
more ▼

asked Dec 07 '15 at 08:13 PM in Blueprint Scripting

avatar image

nmm131
170 47 49 60

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

3 answers: sort voted first

Hi nnm131,

Depending on exactly what you are attempting to accomplish, there are a number of ways to go about this. Nick Jackson's approach is one. Another is to use Event Dispatchers, Interfaces, or Casting to get the desired results. You can find more information about each setup and their benefits here:

Event Dispatchers

Interfaces

Casting

more ▼

answered Dec 08 '15 at 08:44 PM

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

if you create the event in the character blueprint, you can cast to it and fire the event from the level blueprint

more ▼

answered Dec 08 '15 at 03:31 AM

avatar image

alx0427
173 38 45 61

avatar image nmm131 Dec 08 '15 at 04:06 AM

In my character blueprint, my custom event (blue) needs a target. What goes into this target module?

avatar image nmm131 Dec 08 '15 at 05:10 PM

What do you mean cast to it? From where?

When I drag the red event into my level blueprint, my blue event in my character blueprint needs a target to work, and the character blueprint won't compile. Could you show me a blueprint example?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
  1. Create Box Trigger

  2. Open Level Blueprint (make sure you still have Box Trigger selected in Viewport) - right click and choose: Add Event for Trigger Box (expand) -> Collision (expand) -> Add On Actor Begin Overlap

alt text

trigger.png (19.9 kB)
more ▼

answered Dec 08 '15 at 09:16 AM

avatar image

Nick Jackson
492 17 14 107

(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