Announcement

Collapse
No announcement yet.

Problem "get all widget of class"

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

    Problem "get all widget of class"

    Hello,
    I use a "get all widget of class" to open variables in a widget, but when I call the procedure the "Get all widget of class" blocks everything, while without everything working properly the backup is good.
    My question is simple, what prevents the operation?

    Click image for larger version

Name:	Montage noeuds sauvegarde.jpg
Views:	92
Size:	155.4 KB
ID:	1773243

    Thank you in advance for your help.

    #2

    Do not trust the image, the "cast to SG" node is connected to "Create save game object".

    Comment


      #3
      Try printing the output of the Get node after Get All Widgets of Class. If it doesn't print anything, then the required widget does not exist at that point of time. If it does, then most likely it's not of the type Jeux causing the cast to fail.
      Unreal Possibilities
      Wave Spawning System [50% OFF] | Tower Defense Starter Kit [50% OFF] | Grid Creation Systems [50% OFF]

      Comment


        #4
        Hello Stormrage256,

        I checked, there is a print there, out of the "Get" node, I then found that "get all widget of class" did not call the right class

        After further conflict change in fact it was necessary that the Class be that of the "Jeux" and not "Data" as I had indicated, which allowed me to remove the "Cast To Jeux" and to make the link directly with the "get all widget of class".
        Thank you very much, without you I would have gone round in circles for a long time
        Attached Files
        Last edited by Phylogenius; 06-09-2020, 04:25 AM.

        Comment

        Working...
        X