When declaring a variable in blueprint you have the option to set it as a single variable or an array. There also seems to be an option to use it as a set or as a dictionary, but these options are greyed out. How do I set up a dictionary in blueprint?
Announcement
Collapse
No announcement yet.
Dictionary?
Collapse
X
-
Originally posted by StevePeters View PostWhen declaring a variable in blueprint you have the option to set it as a single variable or an array. There also seems to be an option to use it as a set or as a dictionary, but these options are greyed out. How do I set up a dictionary in blueprint?
-
You can use a Map. However, like Gbr mentioned not every variable type is allowed. Switch your variable from Bool to something else and THEN try to click on the icon to create a Map.
The reason Bool doesnt work is because a bool cannot be used as a unique key on the Map[WIP] Procedural City Generator | RPG AI
[MARKETPLACE] Animal Behavior Kit | Space Shooter Template | Procedural Foliage Tool | Procedural Park
[FREE] Modular Road Tool | Action Platformer Template | Radar BP | Free Birds | Procedural Buildings
Join our Discord
Comment
Comment