True and alot of UE’s tutorials are either out of date or they are for FPS games lol
I’ll check it out! And no worries. Like I said I got as much as you did out of this. If you have any more questions feel free.
Cheers!
It’s all good man blueprints are ambigious sometimes
My new fun now will be saving equipped gear like armour, oh the joys lol
is there a bleuprint version of this mate? all that c++ makes no sense to me at all
Sure you can do that in blueprints. Just make another save function that saves the actor set to the socket of the character to another save game bp before the level opens. Then, in the next level, make another load function that loads that actor and sets it in the socket of your character. Do this for each weapon and piece of armor you want to transfer
You can name the new save bp “character items” or something of that nature along with the save and load functions
isnt there only supposed to be only one save bp
Or you can reuse the existing save game bp and save function because you’ll have to save that data anyway when the user saves.
Yes but the user isn’t saving to it so it would be okay but you’re right just refuse the existing one
Yeah you’ll have to cast to the character and as the character find the actor that is set to the socket
do i cast to my character on the save then, since my inventory goes by spawning the actor (weapon) on the equip buttons i have set for them
from the character cast would it then save be connected to save to slot and somewhere after load from slot?
no pros, thanks ill try that n see if it works if this game instance thing im workin on doesnt work
Hey man sorry for the late reply, I had a school project due today. Short answer is yes absolutely you can save them and load them just like any other item
Did it work?
Everything seems to be working fine now for Savin the actors. Haven’t been able to test it on a whole new level yet cause I’m still trying to workout how to save the gear I’m wearing when I switch the levels
Think I’m still havin an issue mate, i finally got the game instance sorted for the gear im wearing and made myself a second map and placed the destroyed actors bp in the level like in the first and it SEMI works.
when i play a level pick stuff up and save the game and stop playin and restart everything that was picked up stays destroyed, i can even press a button to reopen the level and everything is still saved. But when i switch to the second map and back to the first map everything has reset
Hey that’s probably because you need to load (just like you do after you save, exit the game, and reopen the game) when you go back to level one from level two. All of the destroyed actors will reset if you haven’t loaded from a save and set them back to destroyed. Without seeing the project, that’s the most likely and only thing I can think of that would be the problem.
nightmareyahoo, you still around? I need some help if possible pls.