# Interface Doesnt Seem To Work

**URL:** <https://forums.unrealengine.com/t/interface-doesnt-seem-to-work/1658217>\
**Category:** Blueprint\
**Tags:** interface, calling-a-function, unreal-engine, Blueprint, question\
**Created:** [February 1, 2024, 2:08pm UTC](https://forums.unrealengine.com/t/interface-doesnt-seem-to-work/1658217 "2024-02-01T14:08:06Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cronoss95](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cronoss95/32/887902_2.png) [@Cronoss95](https://forums.unrealengine.com/u/Cronoss95)\
**Post date:** [February 1, 2024, 2:08pm UTC](https://forums.unrealengine.com/t/interface-doesnt-seem-to-work/1658217/1 "2024-02-01T14:08:06Z")

</div>

Hi i am trying to create an interface that has a single function in it. This function creates an event within a blueprint actor, which only gets called once another blueprint actor is destroyed.

I am trying to do this for 2 hours and I cant seem to find the issue, but no matter what I do, the print from my event node is never getting triggered.  
This is the interface:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/9/f/79f037a7e3e1f8dc21cafe7b9ac1ae9180bbdb9e.png)  
This is the “outage” blueprint. In here, Id like to have the function to destroy some lights and an audio actor, but its not even firing the print at any given time (interface is added in class)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/2/5/f2537394fc574dbbea0163f78bcd112395377647.png)  
And this is here is the fusebox blueprint. Its a different object within my scene and once the player throws something against it, it explodes.  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/f/7/9f791503b20b6b687e87575f5e2b21cc093bdf73.png)

All of that works fine, but the create outage event message is doing nothing. I also tried to add the interface here, but no matter which node I tried, the BP\_Outage never did its event thing. Could someone tell me what I am doing wrong here?

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [February 1, 2024, 2:19pm UTC](https://forums.unrealengine.com/t/interface-doesnt-seem-to-work/1658217/2 "2024-02-01T14:19:13Z")

</div>

From your pics, I’d say the BPOutage reference is not assigned properly.

Are you getting ‘none’ errors when you stop playing?

---

<div class="post-metadata">

**Author:** ![Cronoss95](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cronoss95/32/887902_2.png) [@Cronoss95](https://forums.unrealengine.com/u/Cronoss95)\
**Post date:** [February 1, 2024, 2:22pm UTC](https://forums.unrealengine.com/t/interface-doesnt-seem-to-work/1658217/3 "2024-02-01T14:22:57Z")

</div>

Hi!  
Nope, absolutely no errors - Here is the variable that I used;

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/7/7/7779d3b97c609b7b01c0b45eeaf61512d9c224ab.png)

I also put the red node (event create outage) inside my fusebox with a print, but this one also doesnt fire or give me an error, its just doing nothing

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [February 1, 2024, 2:24pm UTC](https://forums.unrealengine.com/t/interface-doesnt-seem-to-work/1658217/4 "2024-02-01T14:24:09Z")

</div>

But your BPOutage is of type actor, and this is an object reference?..

You need an actor reference.

---

<div class="post-metadata">

**Author:** ![Cronoss95](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cronoss95/32/887902_2.png) [@Cronoss95](https://forums.unrealengine.com/u/Cronoss95)\
**Post date:** [February 1, 2024, 2:26pm UTC](https://forums.unrealengine.com/t/interface-doesnt-seem-to-work/1658217/5 "2024-02-01T14:26:52Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/b/e/cbeddbaf524b65dcc3bec608a10527381b969f52.jpeg)  
I have changed the variable, but still, the print of the event isnt showing up…

---

<div class="post-metadata">

**Author:** ![Cronoss95](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cronoss95/32/887902_2.png) [@Cronoss95](https://forums.unrealengine.com/u/Cronoss95)\
**Post date:** [February 1, 2024, 2:30pm UTC](https://forums.unrealengine.com/t/interface-doesnt-seem-to-work/1658217/6 "2024-02-01T14:30:32Z")

</div>

I also tried these nodes, but to no avail

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/c/e/fce586d973cde6c3ebd82ead47f005b7fef50fba.jpeg)

PS: the errors from the pic are not from these blueprints or this error

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [February 1, 2024, 2:35pm UTC](https://forums.unrealengine.com/t/interface-doesnt-seem-to-work/1658217/7 "2024-02-01T14:35:36Z")

</div>

Interfaces send a signal to an actor.

You can get a reference by using

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/6/4/e647b0066d89f1986fc0effe433857e9718656d5.png)

---

<div class="post-metadata">

**Author:** ![Cronoss95](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cronoss95/32/887902_2.png) [@Cronoss95](https://forums.unrealengine.com/u/Cronoss95)\
**Post date:** [February 1, 2024, 2:46pm UTC](https://forums.unrealengine.com/t/interface-doesnt-seem-to-work/1658217/8 "2024-02-01T14:46:04Z")

</div>

Perfect! Thanks! But why was my way of using the variable above not working? Isnt that a viable reference to an actor?

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [February 1, 2024, 2:49pm UTC](https://forums.unrealengine.com/t/interface-doesnt-seem-to-work/1658217/9 "2024-02-01T14:49:43Z")

</div>

When it was an object, no 🙂

When it was an actor reference, it’s the correct type, but it still needs assigning. It needs to point at the exact BP you want to talk to, the type is not enough.

For all the engine knows, you might have 500 BPOutage blueprints in the level, it needs to know _which one_.

If you are putting the BP that’s making the call in the level, then you can assign the reference by making it ‘instance editable’ ( click the eye next to the variable ) and using the eye dropper tool on the BP in the level.

Otherwise, you have to set it at runtime, like we did.

Do you get it? 🙂

---

<div class="post-metadata">

**Author:** ![Cronoss95](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cronoss95/32/887902_2.png) [@Cronoss95](https://forums.unrealengine.com/u/Cronoss95)\
**Post date:** [February 1, 2024, 2:58pm UTC](https://forums.unrealengine.com/t/interface-doesnt-seem-to-work/1658217/10 "2024-02-01T14:58:38Z")

</div>

Absolutely, than you so much! You saved my day! 😃

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [March 2, 2024, 2:59pm UTC](https://forums.unrealengine.com/t/interface-doesnt-seem-to-work/1658217/11 "2024-03-02T14:59:37Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
