# Alternate of using 'Delay' to handle Begin Play event in multiple bps

**URL:** <https://forums.unrealengine.com/t/alternate-of-using-delay-to-handle-begin-play-event-in-multiple-bps/18457>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [January 7, 2015, 7:08pm UTC](https://forums.unrealengine.com/t/alternate-of-using-delay-to-handle-begin-play-event-in-multiple-bps/18457 "2015-01-07T19:08:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![FazeDevaansh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FazeDevaansh](https://forums.unrealengine.com/u/FazeDevaansh)\
**Post date:** [January 7, 2015, 7:08pm UTC](https://forums.unrealengine.com/t/alternate-of-using-delay-to-handle-begin-play-event-in-multiple-bps/18457/1 "2015-01-07T19:08:11Z")

</div>

I have `Begin Play` event in both Level bp and Pawn bp. It seems like pawn bp occurs first and then level bp. Its a problem for me because I need to pass reference of an actor in the scene to my NewPawn (DefaultPawn) Blueprint.

What I have done is I created a editable variable in NewPawn bp called “Look At Target” of type `StaticMeshActor` and initializing this variable from my Level Blueprint in the Begin Play event and I need to perform some action in the Pawn bp Begin Play event too. since the event in pawn bp is triggering first I am getting a none reference which is causing errors.

I have add a Delay` node in Pawn bp so the level bp does its job and it comes here later and everything works perfect. I feel delay might not be efficient way of handling all kinds of scenarios but is there an alternate?

---

<div class="post-metadata">

**Author:** ![Tearl](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tearl](https://forums.unrealengine.com/u/Tearl)\
**Post date:** [January 7, 2015, 7:54pm UTC](https://forums.unrealengine.com/t/alternate-of-using-delay-to-handle-begin-play-event-in-multiple-bps/18457/2 "2015-01-07T19:54:15Z")

</div>

Hi, On your Pawn, you could use a custom event and in your Level BP, call that event after its done its thing you need it to do.

---

<div class="post-metadata">

**Author:** ![PenguinTD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PenguinTD](https://forums.unrealengine.com/u/PenguinTD)\
**Post date:** [January 8, 2015, 1:27am UTC](https://forums.unrealengine.com/t/alternate-of-using-delay-to-handle-begin-play-event-in-multiple-bps/18457/3 "2015-01-08T01:27:43Z")

</div>

something you need to know, Begin Play happens every time when a BP instance is created. So if your player/pawn will die/destroyed and then respawn, make sure your logic is proper.

---

<div class="post-metadata">

**Author:** ![pixelvspixel](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@pixelvspixel](https://forums.unrealengine.com/u/pixelvspixel)\
**Post date:** [January 20, 2015, 12:56am UTC](https://forums.unrealengine.com/t/alternate-of-using-delay-to-handle-begin-play-event-in-multiple-bps/18457/4 "2015-01-20T00:56:01Z")

</div>

I’m guessing it’s a no, but would this logic apply to teleporting the pawn/player around the map?

---

<div class="post-metadata">

**Author:** ![PenguinTD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PenguinTD](https://forums.unrealengine.com/u/PenguinTD)\
**Post date:** [January 20, 2015, 6:43am UTC](https://forums.unrealengine.com/t/alternate-of-using-delay-to-handle-begin-play-event-in-multiple-bps/18457/5 "2015-01-20T06:43:54Z")

</div>

beginplay only happen once per actor lifetime, unless you destroy an actor and spawn a new one, then beginplay of the new actor gets called again.  
for level, it won’t fire unless you reload the map, which you don’t want to do as everything will be re-initialized.  
teleport usually just use custom events or RPCs if you are aiming for multiplayer.
