Quote:
Originally Posted by Stefan
Why not simply use MyFunctionsNPC.function() ?
|
Scripter's are lazy, and classes is just a hazzle when there's alot of them
It could be nice with global functions that would make it so you couldn't make more functions with the same name, for example when you make another onCreated() event or make two functions with the same name, it will cause an error
PHP Code:
Mud.additem("sword", 1);
additem("sword", 1);
player.mud.additem("sword", 1);
Mud_Object_Player_Chompy.additem("sword", 1);
etc.. in the end you get confused, but that was kinda a bad example, but if you could create global function it would help for example the main systems of the server, for example the mudlib that servers lately are interested in.