Barbie wrote: ↑Thu Oct 20, 2022 8:34 pm
Have a look at class'Pawn': var bool bViewTarget;
If it is defined in class'Bot' again, it shadows the variable in the parent Pawn class. Maybe that was the reason why it was removed from class'Bot'.
I see - thanks for that - it certainly looks like the only var bool/AI Flag that appears in the list of vars at the beginning of Engine.Pawn and of Botpack.Bot. So I'm sure you're right about the reason.
I wouldn't have removed that. Backward compability is not given, because there may be code that explicit accesses class'Bot'.bViewTarget while class'Pawn'.bViewTarget implicit or explicit might be accessed at another code statement.
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett
I removed it because obscuring variables is an extremely ugly thing to do, especially when you're obscuring a parent class' variable with the intention of using it for the same purpose.
The Core Linker class should redirect imports from mods and other packages, in any case it's the linker that could use a fix here.
Google was not my friend when I searched "uef461a.u", any way I can get my hands on the package and dependencies?