Announcement

Collapse
No announcement yet.

Onclick Button or 3D Object Add Random Widget to Viewport

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Onclick Button or 3D Object Add Random Widget to Viewport

    Hi Guys


    I would like to add a button to the main menu, if you click on it a random widget added to Viewport but only the widgets with the name / Class widgetswitcher 001 widgetswitcher002 etc
    Attached Files

    #2
    You can create an array of type User Widget class and then fill it with the pool of widget classes from which you want to choose randomly. Once that's done, you can add the following logic to choose a widget class at random from the array:

    Click image for larger version

Name:	randwid.jpg
Views:	18
Size:	320.9 KB
ID:	1795632
    Unreal Possibilities
    Grid Creation Systems | Tower Defense Starter Kit | Wave Spawning System [50% OFF]

    Comment


      #3
      Thanks Stormrage256,


      perfect exactly what I needed


      Greetings

      Comment

      Working...
      X