I would like to change to something informative instead of the index number in the editor, how do I do this?
You canât. You either need to use 3 variables, or a structure that is make of a name and a boolean.
Ty that worked. Just a explanation for anyone having the same doubt, he is talking about custom structure, you can create right clicking in editor > blueprints > structure. More details here Struct Variables in Blueprints | Unreal Engine Documentation
@ClockworkOcean and @Everynone , Epic better be paying you two a fee.
This official link doesnât even work anymore; nor does it redirect. FFS.
You can make a struct which is âstring â boolâ and then make an array of them. Or easier, make a map of them. Then you can use the name to look up the bool ![]()
You know, Iâve seen it before in the past, and I was like, âDonât know what that is, and never gonna use itâŚâ
Then I need something specific like this, and it turns out itâs exactly what I needed.
Epic â
â You.
![]()
Iâm using it as the only save game item actually.
I have a map from
Levelname, concept name, ID
to
Struct of basic useful stuff ( at the moment, just int and a bool ).
Turns out, thatâs all you need. You donât have to think of hundreds of variable names etc⌠![]()
I can say âMansion, door, 3â â unlocked, or
âGarden, beacon, 2â â false, 4 ( off, but 4 is the color, always use an array offset when possible, much easier to check later ).
