Quote:
Originally Posted by fowlplay4
When you do comments, you typically comment them above or beside the line of code. Listing them at the bottom (now in a post) of the script is just a bad idea especially when you get into larger scripts, there's already enough jumping back and forth when you're tracing code there's no need to make it even more tedious.
Much like when Imperialistic first posted in the code gallery he made it specific to his cause (clientr.squadName + onActionGrab) as well depending on the context/situation of the script it should be reusable on other servers without much effort.
Here's what I would of considered a proper guild door.
That would then be placed in a class called door_guild or so, and be used in a level script like so:
However that is rather insecure, but more aesthetically pleasing which should be your aim. I would place an NPC in the protected level to only let members of that guild. With code like this:
This would also be placed into a class npc like lock_guild and used like follows:
|
That's so complicated. The original is much easier to use and roughly equivalent in security.