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.
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!
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.
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.
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. :((