Wrong Number of arguments error

Icepaw
Wed, 02 May 2018 19:17:19 +0000
Editor Scripting

So I’m trying to make an attribute/stat system that I can use to pass between maps and gamemodes (starting from the overworld and transitioning to the battle scene and back). I want to make it so that I can change the stat variables in one map/gamemode and have them stay that when when returning to the other. So far I have a basic system in both maps/game modes however I realised that storing them in their respective character BPs wont work so I have opted for storing all of my stat variables in a savegame BP. The picture below is my BP for showing the stats in a widget when in the overworld of the game:

The Second picture is what I am aiming for, in the input node I have a variable with a reference to the save game BP and I am getting the new variables from the save game. This is when I get this error:

I have tried casting to the save game object but obviously that’s just redundant and doesn’t change anything. I dont really understand what it means by the number of arguments or what “delegates” are.Help is much appreciated, I have been banging my head on this for the past week now and still can’t get it to work.

7 posts - 1 participant