Quote:
Originally Posted by JkWhoSaysNi
make an NPC called "global" and put your functions in that.
Then you can call global.whatever(); from any script without joining.
|
I already know this
Having to prefix things with Object.Function() doesn't look as cool as global functions.
Holy crap I just had an excellent idea, since it seems that we have function-objects now, maybe I can create global function object? :O!
Edit: Its not working ;-;
Quote:
Originally Posted by Twinny
The last time I asked Stefan for something like this, he said, "just uses classes " and that being able to edit parent objects or using defined custom data types would be no faster than using join()
|
Its not about speed, its about the cool features like static variables having internal commands for reading and writing them (which I learned recently).