Quote:
Originally Posted by Tricxta
Whats peoples on thoughts as far as readability goes if I did:
NPC Code:
function onCreated()echo "Hello world!";
I think it improves readability as its a smaller area to focus on however some might argue it decreases readability, can someone please clarify this?
|
I hate that! My first script I decided to work on was learning Dustys hammer and he did things sort of like that.. the missing brackets are the only reason I couldn't understand the parts I wanted to learn were
level.tiles[x,y];
and
updateboard(x,y,L,W);
I went through the script so many times trying to figure out the part of the script that did it only to realize it was two commands..
Then I made a beach. ^.^
But I've asked so many people to help me get what was doing it and no one could tell me..
Quote:
Originally Posted by cbk1994
GScript is object-oriented, so you want to get away from thinking of it as command-based. To disable the chat bar, you need to act on its GUI object, named ChatBar.
There is a list of server functions here, and a list of client functions here. These are not completely up-to-date, so use scripthelp as well.
|
Is this better then commands.rtf? / the new GS2 server cammands file that was floating around somewhere on the forum?
Quote:
Originally Posted by Emera
No pressure...
But i agree lol. I am looking forward to this!
i hope to see a lot of people there!
|
It's already up, you should go to:
http://scriptingschool.forumotion.com/.
Quote:
Originally Posted by IaMnOtAnEwB2_red38
This seems interesting, a few years ago I was in the middle of learning GS1 and I seemed to catch on quickly, but never gave myself a chance to pick it back up after the GS2 conversion. Count me in.
Email: [email protected]
|
I know exactly what you mean! It took me 2-3 months ago to start learning GS2 after learning GS1 about five years ago.. after Babylon died 'in my head apparently it carried on for a good amount of time' along with GS1, I gave up on trying to learn too.
Quote:
Originally Posted by fowlplay4
Sorry but that forum is just dreadful.
Couldn't you just use the Group (Moderated) functionality on these forums, and Thread posts for assignments/challenges?
|
I agree.. It would be nice to have him as a moderator and our own thing on the forum.. I like the PHP system on here with the nice colors. ;o
Quote:
Originally Posted by papajchris
I was going through a few themes so hopefully you took a look while I was adjusting things. I personally like having it on a different website as all scripting things are in one place. Once a thread dies I plan to adjust the title to what the thread may be about (such as functions) and make it easy to search. I like the ability to make changes, but if it ends up not working we can come here
|
But I also agree with this... if he does do it on here, there is a chance it could 'die' and a lot of people would not want to post on it because of the so called 'proper etiquette' of this forum. I know I wouldn't want to be yelled at again for posting on a 'dead' thread that interests me and can annoy a whole lot of other people.. I think if he could manage his own subject / thread where we could post subforums inside of it, it could go well on here.
It would get all messy in only one or two threads..
Again, I'd rather post on here.. and greatly like the PHP system on here, but as he said, he'd at least be able to manage it on there. Perhaps this could be worked out?