|Topic was automatically imported from the old Question2Answer platform.
So I have this very simple line of code:
export (String, "Fire Rate", "Charge", "Cooldown", "Toggle") var recovery_type
The problem is that when I create a new resource with this script attached to it, it does show “Fire Rate” as the default value but printing it reveals that it’s just an empty string.
In the editor, I can change this to a different value and then back to “Fire Rate” and it will show the arrow to revert it back to the default value… of “Fire Rate”. But this new modified “Fire Rate” does show when printing the variable in testing.
So am I missing something? Or are you supposed to always set the value manually when exporting a list variable?