Download

Widget switcher - Any tutorials out there?

Hi all

Anyone knows how to use a widget switcher?

Narg

Hello,
To use widget switcher, you set the elements you want to switch in it and buttons near then in graph on button click from the switcher “set active widget index” with the index of the element (first is 0, next 1 then 2…)

Hey Fen

The only place I can find widget switcher is in a widget, and these are my options.

cheers

f9e22762a988d4b63845b63176b9e18409060ff7.jpeg

Narg

5d382613f56055056b3bbfa3df7a1296217948af.jpeg

And this

Narg

Here is an example : left designer, right event graph :
960ca40b425591206dbabdaeea9fcc549e77aed0.jpeg

Ok,

Not what I thought it was. :frowning:

Making a Widget game and thought it would solve some of my issues.

Cheers Fen

Narg

Fen - thanks a lot ! Simple tutorial but nobody did it yet ^^

Is it possible to do the same with 3-d id, I mean its easy switching between 2 widgets, but if add 3 or more ?

Yeah I did it http://oi66.tinypic.com/2ln7orm.jpg.

If someone cant read link. Its needs to be added Branch to the buttons (both), so the second which is +1 gonna be false with condition integer <=2 on the top pin and secondary is “current widget id” variable (int) the same with first button but its gonna be true. After True and False gonna be SET “Current Widget ID” with “integer - integer” on the top and bottom gonna be 1 for both, after pins gonna go to Set Active Widget Index with target of Widget Switcher 0 and index gonna go to Current Widget ID

Unreal Engine 4 - Widget Switcher - YouTube
Try this, really helped me.