Widget recognize Enum but don't desplay the Name nor the Content of de Data Table

Hi!
I’ve bought CCGtoolkit but wanted to learn from it, since I wanted to create a card game that function pretty differently from what CCGtoolkit comes with.

I unfortunately hit a wall when creating a DeckBuilder Widget, the button that would showcase the card’s expansion name and its content is not working as it shoud and I can’t figure out why.


As you can see the print string is printing the card set values but it will always print 0,1,2,3 instead of the names of the Enum
e8ee3fd3957961e88be50cddda45a6a2

Basically what is happening is that the Enum is being recognized by the deckbuilder and the button, that explains why when I press the buttons they showcase the correct name of the Enum row.
d119db06ff17e5b40d88f956a6b7e987
ce6de523bac47646996f68b00937c519

c85fdc4c149e9d4764d477df312d0428
This are the values get when the individual buttons (1,2,3) from the deck builder are being pressed.


This is how i get that Value.

The actual Widget instead showcase the corresponding numbers of the Enum Rows instead of the names, as you can see in the picture.

3bbbea2ebbea86e0ede2be59f58e3d2a

If I change the Set value for the index in the “Select” Blueprint it actually change in the correct position of the number of the Enum Row and show the “All” True Value.


10379901b20d42db242509eab5441544
Not the “All” true value is set on the second Button corresponding to BT-1

I think this issue is causing also the cards and their data to not show correctly in the deck builder.

I think it is really easy to fix but I can’t figure it out apparently, that’s why i’m asking for help.
Thank you for reading.

I just solved it! Apparently the initiate Card Set Button was ok but the variable created of it was apparently empty. So i simply created a new Set form the same node, I did not create a new variable, I simply made a new set, and it worked.

Still don’t know why wasn’t working previously.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.