# How to make a cutscene play once?

**URL:** <https://forums.unrealengine.com/t/how-to-make-a-cutscene-play-once/359403>\
**Category:** Cinematics & Media\
**Tags:** cutscene, unreal-engine, respawn, UE4, Blueprint, question\
**Created:** [June 2, 2016, 5:34pm UTC](https://forums.unrealengine.com/t/how-to-make-a-cutscene-play-once/359403 "2016-06-02T17:34:42Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_421f11621](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_421f11621](https://forums.unrealengine.com/u/anonymous_user_421f11621)\
**Post date:** [June 2, 2016, 5:34pm UTC](https://forums.unrealengine.com/t/how-to-make-a-cutscene-play-once/359403/1 "2016-06-02T17:34:42Z")

</div>

Okay, so I’m doing a little level tutorial for a project and the game starts off with a quick cutscene.

However, when I die and respawn the cutscene plays again. I’m relatively new to ue4 (especially blueprinting), but I tried the ‘doonce’ thing but unsure where to place it, if at all. Any help would be really appreciated.

 ![93033-untitled.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/8/e/f8eb8d1bde8fd225d5540faf9765c515615fca07.jpeg)

This is what I have regarding playing the opening cutscene.

Thanks

---

<div class="post-metadata">

**Author:** ![Derzo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Derzo](https://forums.unrealengine.com/u/Derzo)\
**Post date:** [June 2, 2016, 6:42pm UTC](https://forums.unrealengine.com/t/how-to-make-a-cutscene-play-once/359403/2 "2016-06-02T18:42:57Z")

</div>

Ok, so the thing is, when you RestartLevel, it literally restarts the level and causes the beginplay to fire every time.

How to pass this?  
You could create a SaveGame, but there’s easier method:  
Use a dynamic game instance. In the project settings maps and modes section, there’s thing called _Game Instance_. From there, create new one.

Inside it, you want to add a custom event that has the _cutscene_-reference input pin. When it’s called, add _DoOnce_ and after that _Play_ the _CutScene_ reference input pin and do the disable input, delay, enable input things.

Now inside level blueprint, you _GetGameInstance_ and cast it to _WhatEverYouCalledYourGameInstance_ and fire the custom event!

Cheers! 🙂

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_421f11621](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_421f11621](https://forums.unrealengine.com/u/anonymous_user_421f11621)\
**Post date:** [June 2, 2016, 7:25pm UTC](https://forums.unrealengine.com/t/how-to-make-a-cutscene-play-once/359403/3 "2016-06-02T19:25:06Z")

</div>

First off, thanks for the reply ^^

Secondly, it seems I’m quite hopeless at this…

> Inside it, you want to add a custom event that has the cutscene-reference input pin. When it’s called, add DoOnce and after that Play the CutScene reference input pin and do the disable input, delay, enable input things.

 ![93034-untitled.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/3/e/23e9e8d5e4d188c9946c458c6a5850078deff588.jpeg)

This is where I’m having trouble - I tried creating a cutscene reference but couldn’t on the newgameinstance graph.

It’s just the circled area I’m kinda stuck at now.

---

<div class="post-metadata">

**Author:** ![Derzo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Derzo](https://forums.unrealengine.com/u/Derzo)\
**Post date:** [June 2, 2016, 7:30pm UTC](https://forums.unrealengine.com/t/how-to-make-a-cutscene-play-once/359403/4 "2016-06-02T19:30:25Z")

</div>

_inside level blueprint, you GetGameInstance and cast it to WhatEverYouCalledYourGameInstance and fire the custom event!_ Also inside the level blueprint, you get the reference to the cutscene and connect it with the custom event.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_421f11621](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_421f11621](https://forums.unrealengine.com/u/anonymous_user_421f11621)\
**Post date:** [June 2, 2016, 7:38pm UTC](https://forums.unrealengine.com/t/how-to-make-a-cutscene-play-once/359403/5 "2016-06-02T19:38:44Z")

</div>

Okay, it seems I derped and didn’t connect the EventBeginPlay to the cast in the level blueprint - everything’s fine now!

Thank you very much ^^ I spent quite a while trying to figure it out myself

---

<div class="post-metadata">

**Author:** ![Derzo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Derzo](https://forums.unrealengine.com/u/Derzo)\
**Post date:** [June 2, 2016, 7:40pm UTC](https://forums.unrealengine.com/t/how-to-make-a-cutscene-play-once/359403/6 "2016-06-02T19:40:44Z")

</div>

Np! Also ty for the karma 😉

---

<div class="post-metadata">

**Author:** ![Funnyx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Funnyx](https://forums.unrealengine.com/u/Funnyx)\
**Post date:** [February 8, 2021, 6:11pm UTC](https://forums.unrealengine.com/t/how-to-make-a-cutscene-play-once/359403/7 "2021-02-08T18:11:22Z")

</div>

I know this page is old, but im having the same issues as you, could you provide screenshots of the main level blueprint how you make it work?  
i cant even get that play node. :((

---

<div class="post-metadata">

**Author:** ![xXMohxXxX](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/xxmohxxxx/32/1199668_2.png) [@xXMohxXxX](https://forums.unrealengine.com/u/xXMohxXxX)\
**Post date:** [June 19, 2023, 3:54pm UTC](https://forums.unrealengine.com/t/how-to-make-a-cutscene-play-once/359403/8 "2023-06-19T15:54:15Z")

</div>

Here is my main level blueprint:

 ![Main level](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/1/c/41ca878d5a476a8f6f06f72699064935fe8b01ec.png)  
Combined with the custom event above, it works!
