You are right that it is possible for a Script to lose defined types after calling RunTemplate. Can you check if this update fixes the issue: http://download.sweetscape.com/010EditorWin64Installer16.0.2c.exe
Nested structs are supported in scripts but you have to use the ‘local’ keyword inside the struct like this:
struct StringWrapper
{
string value;
};
struct StringList
{
int count;
local StringWrapper items[1000]; // <- need local here
};
local StringList gMyList;
Graeme
SweetScape Software