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"

Is it possible to have a string converted to Int Point Structure (Blueprint/UMG)?

So I have a drop-down menu with UMG, the drop-down is for the resolution. I want the selected resolution to change the screen resolution. But when I try to connect them it says "string is not compatible with Int Point Structure". alt text

Product Version: UE 4.18
reschangeumg.png (49.2 kB)
more ▼

asked Mar 01 '18 at 05:23 PM in Blueprint Scripting

avatar image

8 1 5

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

1 answer: sort voted first

Hello. Because structs contains more variable (this is why called structure) you need to do this manually.

You can use make "struct" like in this example:

alt text alt text

Its only example i know it is light color struct (picture taken from unreal docs), but simiral should be available with resolution..

After you add make struct node you can configure the resolution.. Im suggesting to use "Select Node" after that! Select Node Doc: https://docs.unrealengine.com/latest/INT/BlueprintAPI/Utilities/Select/

With select node you can define different options based on your string and you can predefine values to this string.. working like an branch/if node.. if your string is "AAAA" X resolution = 1024 Y resolution = 1024 and so on.

Here is some great tutorial about select node: https://www.youtube.com/watch?v=lcN-hRux4cU

I hope this helps, if not tell me and i try to give proper example later ;)


more ▼

answered Mar 02 '18 at 07:12 AM

avatar image

1.5k 15 9 34

(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