Download

Command only on Gamestart?

Hi,

i have a Main Menu and if you start my game i play a sound effekt via Level Blueprint

if you go to a level and then go back to Main menu the sound efekt play again but i want only play once at the game start

how i can make this?

DoOnce node???

Nope if i play a level and go back to Menu Map the DoOnce Node is reset

Skynet2k, do it within the game instance because it’s persistent across all level changes. You will need to make a custom GI and set it to a name you’ll remember like “MyCustomGameInstance.” You can set your doonce in there and not have to worry about it resetting on map change like level BPs and game modes.

https://forums.unrealengine.com/core/image/gif;base64

WITHIN YOUR LEVEL BLUEPRINT ADD THE FOLLOWING AND CHANGE THE SOUND PART IF NEEDED:

[ATTACH=JSON]{“data-align”:“none”,“data-size”:“full”,“data-tempid”:“temp_124141_1512281258619_503”}[/ATTACH]

https://forums.unrealengine.com/core/image/gif;base64

https://forums.unrealengine.com/core/image/gif;base64

Thank you works.

You’re welcome, good luck!