if it is possible can you show me privately if you would like or here if u dont mind how are you saving your last level and if player quits game loads that same last level stream because i am confused with this
it says i cannot check the image it have errors and well see for example level a is on the left and i made a bridge in peresistant so player can walk on if so it will unload level a and load level b infront of the player and each level will have a checkpoint to save his game now if checkpoint isnt needed and the game can save and work with just loading last level also is fine for me but the thing is lets say player reach map B so when he lunch game it should lunch B and player is spawned there in it at the beginning
well for saving a player location i am using checkpoint bp with box collision and as i said before it does work it does get last location indeed but with level streaming its not working because it doesnt load the map where player reach for example level B and yes i did use streaming volumes but what is different between that and the codes you shared with me
is it possible to save my current stream level in this way inside the levelstream BP where my load and unload happening like after my load stream level happens i get current level name function and connect that to set variable LevelName and connect that to my variable level to be loaded
I’ll come back to you tomorrow…
Ok, you have to move the player into the box AFTER the level has started. If the player is in the box on begin play it wont work.
The player has to overlap with the streaming volume after begin play.
So when it begins, have a short delay, then move the player to the right place.
i did try to make a delay and my player indeed spawn there but ill try this from a new fresher project but i was wondering how are you saving your last streamed level and i can see up you are giving that box collision if the player overlap with it to load that level
I’m using blueprint streaming, not volumes. So once I have streamed the level I say:
Inside there is:
and that is just another macro for save game read and write, that’s it
Would it be possinle for me to connect with you and show you exactly what i have from discord or something like sharing screen with you i did what you suggested but i think i might be missing something im not sure of so you seeing live will be huge help if its fine with you maybe tommorow
Alright thanks maybe if you accept as i said i can show live what i have
We can check it out later if you like.
In the meantime:
-
So you are spawning the player?
-
Sometime after the player has spawned, do you see the correct level loading?
PS: If you’re using volumes, you don’t need to save the name of the level
hey clockworkocean so i made it kinda work fine now in terms of saving my level name and last location is all working fine my stream levels between level a and b working but i have a problem still with loading that level stream after checking from game save the last location so here it goes i enter the box collision it checks if there is a game data been saved before after that i take from as gamesave and get levename from it which is saved from the last interacted level stream that happened and then after that i am doing a delay then i just check where last location was and teleport there now indeed it does teleport me where i left but its not loading the stream before that so i spawn in mid air
here is my screenshots i will show you i have highlighted the stuff there and for volume i tried it but for some reason its not working with what i have from my codealt text
I managed to come up with solution not really the best optimal but it does work perfectly
So i made medium sized tunnel in my nornal map and based where u go left right or forward it will do my stream level load nicely and my last location is working that i spawn middle of tunnel and u have freedom to go forward or wtv right or left area to spawn a new place in such a way i removed the headache of you know spawning the stream level before my player spawn
Ok, cool
Thank you very much foe your help and reply you kind off gave me some helpful tips and made my idea to work
You’re welcome.