Quote:
Originally Posted by scriptless
Someone explain what you guys mean by garbage collecting? And the initialization making it more reliable? How so?
|
iirc the onCreated() event is not invoked when the npc-server is started, whereas onInitialized() is
garbage collection runs destroy objects that have no active reference, for example if you do this twice:
this.obj = new tStaticVar();
then the first object you created will no longer have an active reference, as that reference is now being used for the second object