As title, after various test I cannot get the Save Point Device to Save or Load player data through Verse.
The device does work with Event Binding.
Here’s is the example code I’m using. SetupGame
is called successfully as the Log does print correctly.
#Setup the game.
SetupGame(Player:player):void=
if (SetupQualified = false):
for (i := 1 .. PlayersWaiting):
set QualifiedToComplete += 1
QualifiedTracker.IncreaseTargetValue(Player)
set SetupQualified = true
if:
set AssignedPlayerSlot = PlayerSlot[CurrentSlot]
AssignedPlayerSlot.Trigger(Player)
set CurrentSlot += 1
Logger.Print("Player saved to slot {CurrentSlot}")
GameLoadSavePoint.SavePlayer(Player)
GameClass.ChangeClass(Player)
When attempting to load player data after this code is run, no data seems to be loaded.