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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Event calls from actors of a certain type


I have a problem that I can't seem to find a solution to. I have a scene where one or more players collect coins, which are spawned randomly during runtime. Colliding with the coins and removing them is all fine, but I also want the level blueprint to recognize that a coin has been picked up.

My initial idea was to create an event which is fired by a collected coin, and then picked up in the level blueprint. But all examples, provided by my good friend Google, seem to be examples where the actor is already in the scene when the scene is loaded. Furthermore, the event in the level blueprint is always bound to a single entity.

Is there a way to create an event in the level blueprint, which can be fired from any given coin in the scene?

Product Version: UE 4.13
more ▼

asked Oct 10 '16 at 01:51 PM in Blueprint Scripting

avatar image

1 2

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

1 answer: sort voted first

Hello DigohD,

Referring to the Level Blueprint from outside of it can cause some problems, especially once you move to another level and begin to use the same blueprints. This is why we don't allow referring to functions and events made in the Level Blueprint.

It would be best if you could use a GameInstance instead. GameInstances are made to persist between levels and last throughout the entire play session. You could set up any of those events that you planned to use in the Level Blueprint. All you need to do to get that set up is to create a blueprint based off the GameInstance class and then set your GameInstance in Edit > Project Settings > Maps & Modes to your new blueprint class.

more ▼

answered Oct 11 '16 at 06:35 PM

(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