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"

Using a Combo list for Resolution

I am using a Combo List for my resolution settings i have the 17 resolutions typed into the Combo list, but i dont know how to actually make them work when selected, so far i have done this. alt text

^ Thats my attempt i custom typed in on each combo the name for the resolution then made a separate array with the command names in them, i then check the selected int against my res array and if the int's are the same number than it executes the command in the res array which i made eg. r.setRes 1920x1080

alt text

^^ Thats the res array ( Only 2 have r.setRes, cause i dont wanna try it 17 times so its for testing)

alt text ^^ That is my Combo List

Does any one have a fix or and easier way for me to do this, thank you.

Product Version: UE 4.12
Tags:
more ▼

asked Oct 05 '16 at 09:05 PM in Blueprint Scripting

avatar image

Koaku
131 26 25 35

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

2 answers: sort voted first

In your execute console command you can use an "append" node, and if I remember right, res don't have have space character in it, like "r.SetRes 1920x1080".

(Or I didn't understand the question ><)

more ▼

answered Oct 06 '16 at 05:17 AM

avatar image

mdonge
830 31 12 38

avatar image Koaku Oct 06 '16 at 09:14 AM

Hi so i added a append i take it, that it basically adds 2 strings to each other so it would add r.setRes to 1920x1080 = r.setRes1920x1080 alt text

but unfortunatly that didnt work either

Edit: i added a print string to see what was happening and i have promosing results the appen thing worked it turns out all i needed was the space after r.setRes

alt text ^ all i did was space these and it worked
Thank you for your help

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

Ok so I tried doing this. It works perfect when I hit play but it does nothing when I packaged it. It behaves like a combobox but res doesnt changes :(

Any ideas? What am I doing wrong?

Thank you & best regards.

Hexa

more ▼

answered Oct 04 '18 at 09:32 AM

avatar image

mac1542
1

(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