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"

[Closed] How to add Map and Set properties?

Hi,

I got very excited about the new properties mentioned in the 4.14 release notes. They sound extremely useful.

alt text

However I can't find a way to set them up anywhere, not in the variable selector, not in the struct, not in the asset creator. Are they available to be created in blueprint at all or is the patch note about being able to edit these properties when they are created exclusively from code?

Kind regards,

Marcin

Product Version: Not Selected
Tags:
capture.jpg (73.9 kB)
more ▼

asked Feb 06 '17 at 07:52 PM in Using UE4

avatar image

Answers.Archive STAFF
1.9k 209 316 690

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

The question has been closed Feb 06 '17 at 07:54 PM by AndrewHurley for the following reason:

The question is answered, right answer was accepted


1 answer: sort voted first

Hi Marcin,

I believe that one of our users on the forums was able to answer this. Please visit this thread and look for the post from Willard720. The user posts

"No, this is actually not true, you can create them in blueprints! You have to go to Editor Preferences>Blueprint Editor>Experimental. Its the second option that says "Enable support for TMaps and TSets."

After you enable it, you can head back to the blueprints and create a new var. Instead of the array button next to it, its a variable icon, (the thin ovals), and clicking on it lets you choose between an array, map, or set. If you choose map, you get to choose which class is the key, and which is the value. Granted, it is in experimental for a reason. Mine crashed the first time I tried to create a map, so be cautious I guess. But it is super nice seeing that it is in there, and they do plan on fixing all of the bugs. The UI for it is very intuitive, so I can't wait for it to be finished. I'm not sure what other bugs it as right now, but hopefully nothing data loosing."

If that doesn't do the trick, please let me know and I'll escalate this to one our our engineers who worked on the feature.

Thanks,

Josh

more ▼

answered Feb 06 '17 at 07:52 PM

avatar image

Answers.Archive STAFF
1.9k 209 316 690

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

Follow this question

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

Answers to this question