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. 

Get all actors with interface not working?

I have recently gotten into a problem where the Get All Actors with Interface no longer detects the actors that use the same interface. So I don't know what to do about it. It's either a bug or I did something stupid and I broke it.

alt text

I tried testing with a tick event and seems like neither in the player or npc the interface event won't receive any signal from the message interface.

Is there something wrong with this blueprint? It's in a actor blueprint where whenever is overlapped by a player it should send a signal to both player and npc using the interface.

What's the correct way to achive the interface to work?

Yes, both the player and npc have the same interface implemented.

Product Version: UE 4.19
screenshot-4.png (181.1 kB)
more ▼

asked Jun 25 '18 at 04:41 PM in Using UE4

avatar image

1 1 2

avatar image Nebula Games Inc Jun 25 '18 at 07:42 PM

Why do you have a "For Loop" with index start of 0 and end of 0?? That will only execute once so why even have it? Then you "get all actors of class" and do absolutely nothing with the actors you "got". The array it outputs has all those actors, but you don't use it. So that is another node that isn't doing anything. Then you have a call to an interface...does "self" implement that interface? Is that boolean necessary to get the interface to fire? Or will it stop execution if that boolean is a certain value? There are many things wrong with this blueprint that can be keeping your interface from firing off. Try re-working this logic first and see if that fixes your problem. Go node by node and ask yourself why that node is there and what are you trying to do with it. I think what you want is to use the "get all actors" array and from that output array do a "for each loop" and have that loop call the interface but...that is not what you're doing at all.

avatar image Maker26 Jun 25 '18 at 07:56 PM

I'm still not good on working with unreal engine, I did learned some new stuff but I still don't really know most of the important nodes, meaning that I am not gonna find out the best way to make this work. Can you give me a screenshot with the correct way of this blueprint please? Cause I have been stressing out myself for 24 hours of what and how to do it.

Thank you for your reply by the way

avatar image Nebula Games Inc Jun 25 '18 at 08:17 PM

I think this is more of the set-up you are looking for.

alt text

interfaces.jpg (70.9 kB)
avatar image Maker26 Jun 25 '18 at 08:19 PM

Thats weird, it does seem to send to the player, but it won't send anything to the AI/NPC, and like I wrote, it HAS the necessary interface, which I don't know if that is a bug or something else

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

0 answers: sort voted first
Be the first one to answer this question
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