UGameplayStatics::OpenLevel Options custom params
Can I use UGameplayStatics::OpenLevel FString Options parameter to pass any values between levels? And if so - how it should be implemented? Where can i get this string?
Thanks in advance
asked Feb 02 '16 at 05:27 PM in Using UE4
I just figured this out, here is how it works:
I bet you can call this from any method defined in GameMode since "OptionsString" is set as soon as the GameMode is instantiated so you don't really need to call this on the StartPlay().
There are many other ways to get data on the GameMode, just check the GamePlayStatics class and you will find them, there is for example: GetIntOption() that will parse an int defined on the OpenLevel.
answered Apr 25 '18 at 10:28 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here