I just want a confirmation if you know this one:
- is it normal the engine crash with structs like this:
Code: Select all
struct StructA
{
var() name var1;
var() vector var2;
var() sound var3;
};
struct StructB extends StructA
{
var() name var4;
var() vector var5;
var() sound var6;
}
If I however make something like this:
Code: Select all
struct StructB
{
var() name var1;
var() vector var2;
var() sound var3;
var() name var4;
var() vector var5;
var() sound var6;
}
Is the struct "extend" broken somewhat in UEngine1.x? Or does the "extend" only break when one (or both) of the structs have other structs inside them (like vectors) or references (like sounds, classes, etc)?
I didn't test it further, so if someone knows or can do a small set of tests to check this out, it would be great just to know what exactly is going on.
I wanted to use extend since it was the more correct thing in my case, but I will have to go with the ugly way and replicate the vars to the second struct instead.