# Why   is  this respawn  system   not  working?   NEED  HELP

**URL:** <https://forums.unrealengine.com/t/why-is-this-respawn-system-not-working-need-help/30845>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [May 23, 2015, 5:15pm UTC](https://forums.unrealengine.com/t/why-is-this-respawn-system-not-working-need-help/30845 "2015-05-23T17:15:39Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_6a36b0fb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6a36b0fb](https://forums.unrealengine.com/u/anonymous_user_6a36b0fb)\
**Post date:** [May 23, 2015, 5:15pm UTC](https://forums.unrealengine.com/t/why-is-this-respawn-system-not-working-need-help/30845/1 "2015-05-23T17:15:39Z")

</div>

I’m using the default guide for making a character respawn but it is not working. In the picture attached you can see the blueprints.

What am i doing wrong?

Thanks in advance,

Aalmoes

---

<div class="post-metadata">

**Author:** ![JmDevTx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JmDevTx](https://forums.unrealengine.com/u/JmDevTx)\
**Post date:** [May 23, 2015, 5:52pm UTC](https://forums.unrealengine.com/t/why-is-this-respawn-system-not-working-need-help/30845/2 "2015-05-23T17:52:20Z")

</div>

What part of it isn’t working? And is your cast failing?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6a36b0fb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6a36b0fb](https://forums.unrealengine.com/u/anonymous_user_6a36b0fb)\
**Post date:** [May 23, 2015, 6:06pm UTC](https://forums.unrealengine.com/t/why-is-this-respawn-system-not-working-need-help/30845/3 "2015-05-23T18:06:25Z")

</div>

The cast is working but it simply doesnt respawn the plane

---

<div class="post-metadata">

**Author:** ![JmDevTx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JmDevTx](https://forums.unrealengine.com/u/JmDevTx)\
**Post date:** [May 23, 2015, 6:38pm UTC](https://forums.unrealengine.com/t/why-is-this-respawn-system-not-working-need-help/30845/5 "2015-05-23T18:38:47Z")

</div>

Hmm… Not sure what to tell you.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6a36b0fb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6a36b0fb](https://forums.unrealengine.com/u/anonymous_user_6a36b0fb)\
**Post date:** [May 23, 2015, 7:22pm UTC](https://forums.unrealengine.com/t/why-is-this-respawn-system-not-working-need-help/30845/6 "2015-05-23T19:22:57Z")

</div>

Yeah its weird because everything is the same as in the tutorial yet it doesnt work

---

<div class="post-metadata">

**Author:** ![JmDevTx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JmDevTx](https://forums.unrealengine.com/u/JmDevTx)\
**Post date:** [May 23, 2015, 7:32pm UTC](https://forums.unrealengine.com/t/why-is-this-respawn-system-not-working-need-help/30845/7 "2015-05-23T19:32:02Z")

</div>

Make sure on your BP, auto input is set to player 0 in the details panel.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6a36b0fb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6a36b0fb](https://forums.unrealengine.com/u/anonymous_user_6a36b0fb)\
**Post date:** [May 23, 2015, 7:48pm UTC](https://forums.unrealengine.com/t/why-is-this-respawn-system-not-working-need-help/30845/8 "2015-05-23T19:48:32Z")

</div>

Just changed that unfortunately it didnt fix it

---

<div class="post-metadata">

**Author:** ![JmDevTx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JmDevTx](https://forums.unrealengine.com/u/JmDevTx)\
**Post date:** [May 23, 2015, 7:52pm UTC](https://forums.unrealengine.com/t/why-is-this-respawn-system-not-working-need-help/30845/9 "2015-05-23T19:52:55Z")

</div>

Right click on your spawn actor node and add a breakpoint, then when you test it, see if the breakpoint is hit. If the breakpoint is hit, it should pause the game and show you the spawn actor node.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6a36b0fb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6a36b0fb](https://forums.unrealengine.com/u/anonymous_user_6a36b0fb)\
**Post date:** [May 23, 2015, 7:58pm UTC](https://forums.unrealengine.com/t/why-is-this-respawn-system-not-working-need-help/30845/10 "2015-05-23T19:58:30Z")

</div>

Thanks for the help by the way. It does not hit the breakpoint. I think the event is not being triggered at all…

It stops hitting the breaking point at the bind event on destroyed

---

<div class="post-metadata">

**Author:** ![JmDevTx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JmDevTx](https://forums.unrealengine.com/u/JmDevTx)\
**Post date:** [May 23, 2015, 8:12pm UTC](https://forums.unrealengine.com/t/why-is-this-respawn-system-not-working-need-help/30845/11 "2015-05-23T20:12:26Z")

</div>

You are binding onDestroyed, but you are never calling it.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6a36b0fb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6a36b0fb](https://forums.unrealengine.com/u/anonymous_user_6a36b0fb)\
**Post date:** [May 23, 2015, 8:19pm UTC](https://forums.unrealengine.com/t/why-is-this-respawn-system-not-working-need-help/30845/12 "2015-05-23T20:19:06Z")

</div>

Where should i call it? i’m kinda new to the unreal engine 4

---

<div class="post-metadata">

**Author:** ![JmDevTx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JmDevTx](https://forums.unrealengine.com/u/JmDevTx)\
**Post date:** [May 23, 2015, 8:20pm UTC](https://forums.unrealengine.com/t/why-is-this-respawn-system-not-working-need-help/30845/13 "2015-05-23T20:20:07Z")

</div>

Well, it looks like when flying pawn is destroyed, it will spawn a new one, is your pawn being destroyed?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6a36b0fb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6a36b0fb](https://forums.unrealengine.com/u/anonymous_user_6a36b0fb)\
**Post date:** [May 23, 2015, 8:23pm UTC](https://forums.unrealengine.com/t/why-is-this-respawn-system-not-working-need-help/30845/14 "2015-05-23T20:23:36Z")

</div>

Oh in that way. Yeah i made this basic thing for when it hits something it gets destroyed

 ![Pawndestroyed.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/e/0/0e0632fb489b01b273e48dc25ca1fb86c02e6ca1.png)

---

<div class="post-metadata">

**Author:** ![JmDevTx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JmDevTx](https://forums.unrealengine.com/u/JmDevTx)\
**Post date:** [May 23, 2015, 8:25pm UTC](https://forums.unrealengine.com/t/why-is-this-respawn-system-not-working-need-help/30845/15 "2015-05-23T20:25:06Z")

</div>

So it destroys it but never spawns another?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6a36b0fb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6a36b0fb](https://forums.unrealengine.com/u/anonymous_user_6a36b0fb)\
**Post date:** [May 23, 2015, 8:26pm UTC](https://forums.unrealengine.com/t/why-is-this-respawn-system-not-working-need-help/30845/16 "2015-05-23T20:26:11Z")

</div>

Yeah pretty much. Whenever i hit something it dissapears and shows the smoke and explosion. But it never creates a new one

---

<div class="post-metadata">

**Author:** ![JmDevTx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JmDevTx](https://forums.unrealengine.com/u/JmDevTx)\
**Post date:** [May 23, 2015, 8:37pm UTC](https://forums.unrealengine.com/t/why-is-this-respawn-system-not-working-need-help/30845/17 "2015-05-23T20:37:17Z")

</div>

Hmm… Why do you apply damage if you remove it manually?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6a36b0fb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6a36b0fb](https://forums.unrealengine.com/u/anonymous_user_6a36b0fb)\
**Post date:** [May 23, 2015, 9:28pm UTC](https://forums.unrealengine.com/t/why-is-this-respawn-system-not-working-need-help/30845/18 "2015-05-23T21:28:43Z")

</div>

For the structures around it to break. They wouldnt break if i removed it manually

---

<div class="post-metadata">

**Author:** ![JmDevTx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JmDevTx](https://forums.unrealengine.com/u/JmDevTx)\
**Post date:** [May 23, 2015, 10:00pm UTC](https://forums.unrealengine.com/t/why-is-this-respawn-system-not-working-need-help/30845/19 "2015-05-23T22:00:59Z")

</div>

Hmm… I’ve never bound events, so I’m not sure I can be of further help.

---

<div class="post-metadata">

**Author:** ![Zhi\_Kang\_Shao](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Zhi\_Kang\_Shao](https://forums.unrealengine.com/u/Zhi_Kang_Shao)\
**Post date:** [May 23, 2015, 10:10pm UTC](https://forums.unrealengine.com/t/why-is-this-respawn-system-not-working-need-help/30845/20 "2015-05-23T22:10:52Z")

</div>

Here is what I think is the issue. Inside your game mode, you try to bind an event to the player’s character but the player’s character is not necessarily initialized before the game mode’s BeginPlay is executed. Try adding a delay node after BeginPlay to verify. If it does work then, then you know the order of initialization is the issue.

If so I would suggest moving the respawn logic over to the pawn blueprint’s Event Possessed or some other event that assures you that the pawn is initialized and possessed by the player controller.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6a36b0fb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6a36b0fb](https://forums.unrealengine.com/u/anonymous_user_6a36b0fb)\
**Post date:** [May 23, 2015, 10:50pm UTC](https://forums.unrealengine.com/t/why-is-this-respawn-system-not-working-need-help/30845/21 "2015-05-23T22:50:35Z")

</div>

Ive added the delay. But its still not working. The Cast to FlyingPawn is triggered but the Bind Event to onDestroyed wont be triggered. Ive got no idea how to fix this 😛

 ![Problem.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/9/3/993bc1f897396b56c7ffd2dbcc077bf6f9ac96bd.png)

[Next page](https://forums.unrealengine.com/t/why-is-this-respawn-system-not-working-need-help/30845.md?page=2)
