Minty23185Fresh
April 2nd, 2020, 18:14
My Druid Wild Shapes extension was throwing an "invalid name" error for DB.createChild() in FGU.
It was because I was using this variation of the syntax:
local myNode = DB.createChild(stringNodeName, "");
In FGC, it is acceptable to use an empty string as the second parameter. No error is thrown.
In FGU, it is not.
(For readers of this thread, please note, I'm not soliciting discussion of how to fix this, I already know how to do it. I'm simply reporting "a difference" in behavior between FGC and FGU to the hard working crew of Smiteworks.)
I have searched the FG site as well as the individual Early Access sticky threads for a report of this and didn't see one.
Thanks for listening.
It was because I was using this variation of the syntax:
local myNode = DB.createChild(stringNodeName, "");
In FGC, it is acceptable to use an empty string as the second parameter. No error is thrown.
In FGU, it is not.
(For readers of this thread, please note, I'm not soliciting discussion of how to fix this, I already know how to do it. I'm simply reporting "a difference" in behavior between FGC and FGU to the hard working crew of Smiteworks.)
I have searched the FG site as well as the individual Early Access sticky threads for a report of this and didn't see one.
Thanks for listening.