Hey there,
im trying to solve the following issue:
I have 2 levels. 1 Is the Main menu with its own gamemode, and is just a Menu with a Play and a Quit button.
When the Play button is pressed, the second Level is opened.
The second Level however is a Streaming level and the Spawnpoint for the Player is located in one of the Sublevels to that Persistent level.
Now when the Level gets loaded, first thing i do is to also load the Sublevel the Player is supposed to spawn in. However this leads to the player falling trough the floor 90% of the time.
I tried to create a manual spawning character and posess it, however when i do that i am unable to controle the pawn.
So in order to be able to move my character and to keep it simple, id like to simply delay the automated Player Spawn in at the PlayerStart point, until the Sublevel is fully loaded.
Can anyone tell how if thats possible and how to do it?
Alternative aproaches are very welcome aswell!
Thanks in advance
override AGameMode::ReadyToStartMatch_Implementation() with any condition you need. It will be checked each tick and player won’t be spawned until you return true
I should have probably mentioned that im using Nodes. There doesnt seem to be a function called like that in my GameMode.
Im checking at “Functions → Overwrite”.
I think i found it. I had to change Parent Class from “Game Mode Base” to “Game Mode”.
I hope that doesnt break anything?
Oh, yes, it’s the possible reason. Reparenting from GameModeBase to GameMode is completly safe, since the GameModeBase is a parent class for GameMode, which have a bit less extra features, which not every game needs
The initialy issue is resolved no more falling through floors!
However when i load into the Map i can not move my character for some reason.
Any ideas or should i open a new post in a different cathegory for this?
One way or the other: Thanks a lot for the help!