package NoObserversPackage{ function SimObject::onCameraEnterOrbit(%obj, %camera) {} function SimObject::onCameraLeaveOrbit(%obj, %camera) {}};activatePackage("NoObserversPackage");
What exactly is the point of that other than making admin abuse on stealthy servers easier?
Code: [Select]package NoObserversPackage{ function SimObject::onCameraEnterOrbit(%obj, %camera) {} function SimObject::onCameraLeaveOrbit(%obj, %camera) {}};activatePackage("NoObserversPackage");This could potentially break other addons.
Why not just overwrite the functions outside a package? That way you don't risk breaking other mods that package it.
Overwriting them outside of a package would be even worse because you couldn't turn it off if needed.
No, because other add-ons should be using a parent.
Your add-on doesn't appear to have a way to turn it off anyway.
Perhaps the best results would come from reconstructing the functions entirely but introducing a preference to toggle it.