I am using the message World, ModuleInit to determine whether the object is being loaded in Surveyor or Driver.
In TANE this works perfectly.
In TS12 or TS2010 there seems to be a bug (?). ModuleInit is sent only when loading Driver, but not Surveyor (looked in JetLog, no message sent). Is there any way I can determine if Surveyor finished loading? Is this a long forgotten bug that has been fixed only in TANE? Or is it another way?
Thanks!
P.S.: I cannot use World.GetCurrentModule() in Init() because I am using <MapObject>.GetId() and this returns -1 when called in Init().
In TANE this works perfectly.
In TS12 or TS2010 there seems to be a bug (?). ModuleInit is sent only when loading Driver, but not Surveyor (looked in JetLog, no message sent). Is there any way I can determine if Surveyor finished loading? Is this a long forgotten bug that has been fixed only in TANE? Or is it another way?
Thanks!
P.S.: I cannot use World.GetCurrentModule() in Init() because I am using <MapObject>.GetId() and this returns -1 when called in Init().
Last edited: