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.
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.
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.
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
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.