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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Selecting map by enum variable value

This seems like quite a simple problem, so I'm hoping there's a simple solution which I'm just missing. I have a variable called "VariableNames", which is an enum variables type, and contains the names of 10 variables which can be chosen. I also have 10 maps of strings to string, each named after one of the options in the varaiblesnames variable (and contain coordinates (keys) and relevant values (values) for each variable). What I want to do is select the corresponding variable, in such a form that it can be inputted as a target map into a find action, from whatever option is chosen in variablenames. Has anyone got any ideas?

alt text

Product Version: UE 4.16
Tags:
ue4 problem.png (249.2 kB)
more ▼

asked Jul 04 '17 at 03:16 PM in Blueprint Scripting

avatar image

TimRodaway
1 2 3 5

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

1 answer: sort voted first

Same Answer as on FB =) Make a Struct and nest your Map in it.

https://gyazo.com/85b3729286535dd42b12908545a04328

more ▼

answered Jul 04 '17 at 04:07 PM

avatar image

Nachtmahr
6.9k 143 28 172

(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