Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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?

Save Struct'

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.

alt textalt text

Product Version: UE 4.20
more ▼

asked Jan 14 '19 at 08:58 PM in Blueprint Scripting

avatar image


(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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)

more ▼

answered Jan 14 '19 at 09:00 PM

avatar image

236 2 5 5

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question