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”.

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:

https://docs.unrealengine.com/latest/images/Engine/Blueprints/UserGuide/Variables/Structs/MakeLinearMenu.jpg

https://docs.unrealengine.com/latest/images/Engine/Blueprints/UserGuide/Variables/Structs/MakeLinearColor.jpg

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: Select | Unreal Engine Documentation

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:

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

Cheers

1 Like