x

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"

Saving in Blueprints with 70+ variables, any alternatives?

Hello,

I have a game with 70+ variables and all the tutorials i have read/watched have show the recreation of variables in a save blueprint in order to save, is there anything i could do to avoid this method, or is one by one setting each variable the only way to do this?

Thanks :)

Product Version: UE 4.10
Tags:
more ▼

asked May 30 '16 at 05:37 AM in Blueprint Scripting

avatar image

sp44rking
1

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

3 answers: sort voted first

Or you can create a structure that holds the variables and save that

more ▼

answered May 30 '16 at 07:41 PM

avatar image

Derzo
701 28 8 51

avatar image Mopperl May 31 '16 at 08:58 AM

Thats how I do it too and build custom Serialization and Deserialization Code... Marketplace has a new plugin for oneclick saving now too though wich i might take a look at

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

you could use an array, mate. each array can hold nearly infinite number of variables from the same type if you have more than one type (class, whatever), just use few different arrays, one per type.

more ▼

answered May 30 '16 at 01:52 PM

avatar image

Arty-McLabin
925 21 44 64

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

answered May 31 '16 at 11:05 AM

avatar image

Derzo
701 28 8 51

(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