Quote:
Originally Posted by fowlplay4
I tried to destroy a WNPC from another DBNPC/WNPC using:
PHP Code:
// substituting "npc" with the real name.
findnpc("npc").destroy();
findweapon("npc").destroy();
And wasn't able to o:
In theory couldn't you just.. (For now i guess)
PHP Code:
public function destroy() {
return false;
}
|
On testbed they actually distribute some script that will do a callstack and such and echo on RC if an NPC tries to destroy it(as well as what NPC it was).
Either way, I don't really see a need for such a lose security. As for whether it's possible or not I'm not sure, but it was a huge thing on Testbed so I figured it was.