Error Message, Invalid Type Array of Structures
Hi! I'm still new to UE4 and even newer to the Blueprints part of it. I'm currently following a tutorial on how to make a pinball game and I'm currently putting together a 'Determine Highest Score Value' portion. After loading up my save from the other day to continue work on the project, I'm met every time with-
'The following member variables in blueprint 'Blueprint /Game/Blueprints/HighScoreSave.HighScoreSave' have invalid type. Would you like to remove them?
I'm currently using version 4.20.3. I can restart this lesson and go through it all again but I would rather find out the reason as to why I receive this message every time I load up the project. Please bear with Me as I am still very new to all of this, though any help at all is very appreciated.
You need to plug in an array into the "Array" slot on the For Each Loop. You're trying to get an array of nothing and retrieve data from it.
Also, that pin Array Element Score appears to be invalid. If you're looking to retrieve a "Score" value from each array index, you'll need to input an array into the array slot, then drag off the "Array Element" pin and perform a "Get" from the element to get score from whatever array item your score is saved to. (score should be a variable on the actors that make up the array)
Follow this question
Once you sign in you will be able to subscribe for any updates here