Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Best way to learn.. (https://forums.graalonline.com/forums/showthread.php?t=18415)

-_Soulhunter_- 12-06-2001 08:58 PM

Best way to learn..
 
Write how to learn scripting in the best way..
some off your own small but good scripts that
are useful

Please i really wanna learn to script!

Falcor 12-06-2001 09:37 PM

Best way to learn is to teach yourslef. In my experiences I found out that someone explaining things is far less effective then your figureing out what they mean becasue then it last longer in your head. only YOU can engrave knowledge in your head. Other people cannot do it for you. But in any case if you wanna get to know THE BASICS (note isaid BASICS not ADVANCED stuff) Then read Ace's Newbies scripting guide in the NPCs tutorical section of the g2k1 site.

KJS 12-07-2001 04:02 AM

I say teach your self (I basically did that to learn how to program and graal script is a lot like programming)...

but teaching your self is the best way because then you learn each command and how they react with everything...

just trail and error... if you screw up on something you will probably not do that thing wrong again because you know what you did and it will stick in your mind...

Poogle 12-07-2001 05:45 AM

Quote:

Originally posted by KJS
I say teach your self (I basically did that to learn how to program and graal script is a lot like programming)...

but teaching your self is the best way because then you learn each command and how they react with everything...

just trail and error... if you screw up on something you will probably not do that thing wrong again because you know what you did and it will stick in your mind...

thats how i learned to script

ShockwaveISTHEBEST 12-08-2001 09:58 AM

Im with you guys I taught myself especially from other scripts, all I really want to learn now is strequals and triggeractions. Befor when I sucked at scripting my friend told me simply to read the new features lots of examples and explained by the creator(stefan) so its really in general. You should read it it helps.

kyle0654 12-08-2001 01:20 PM

It depends on your learning style. I could tell you how I learned, but it may not help you at all. It might instead put you on a long ride of confusion that would loop around and bring you back to where you are now. That would get you somewhere, because you'd know of the track then...but it's much easier if you take the right path for your learning style.

The first step is figuring out how you learn. Do you learn better when someone tells you what to do, or does figuring it out yourself help engrave it in your mind? Do you like being given clues as to where to go, or maybe know where everything is, and have to make the path for yourself?

Once you figure out how you learn, find a way to learn scripting that works for you. If you need a mentor, find one. If you need a good tutorial, ask around. If you need the commands, go print out the list. Find out what will help you learn best, then get it.

Python523 12-08-2001 01:34 PM

Quote:

Originally posted by ShockwaveISTHEBEST
Im with you guys I taught myself especially from other scripts, all I really want to learn now is strequals and triggeractions. Befor when I sucked at scripting my friend told me simply to read the new features lots of examples and explained by the creator(stefan) so its really in general. You should read it it helps.
strequals is so simple you'll hit yourself hard when you find out
read the newfeatures.txt for triggeraction

adam 12-08-2001 01:38 PM

Quote:

Originally posted by kyle0654
It depends on your learning style. I could tell you how I learned, but it may not help you at all. It might instead put you on a long ride of confusion that would loop around and bring you back to where you are now. That would get you somewhere, because you'd know of the track then...but it's much easier if you take the right path for your learning style.

The first step is figuring out how you learn. Do you learn better when someone tells you what to do, or does figuring it out yourself help engrave it in your mind? Do you like being given clues as to where to go, or maybe know where everything is, and have to make the path for yourself?

Once you figure out how you learn, find a way to learn scripting that works for you. If you need a mentor, find one. If you need a good tutorial, ask around. If you need the commands, go print out the list. Find out what will help you learn best, then get it.


OMG kyle do you know anyone from ITT Tech? OMG I just got done with some course that tought all about learning styles !@$


AND THEY CALL THIER TUTORS MENTOR'S!@!

BocoC 12-08-2001 01:55 PM

Don't be afraid to ask questions.

nyghtGT 12-08-2001 02:07 PM

Quote:

Originally posted by Gspeed2000
Give yourself some goals, like sudden jolts of inspiration, like when I made a totally new chat system just to prove that there is a way better less laggy way to make a chat system ;-)
this is what i do, when i learn a new command in scripting i find everyway to incorporate it into my scripts ... i also try to perfect my old scripts and make them shorter but just as efficient ...

nyghtGT 12-08-2001 02:09 PM

Quote:

Originally posted by BocoC
Don't be afraid to ask questions.
and by this he/we mean asking for help with commands and such, or fixing scripts .... not asking for them ....

kyle0654 12-08-2001 02:24 PM

Quote:

Originally posted by adam



OMG kyle do you know anyone from ITT Tech? OMG I just got done with some course that tought all about learning styles !@$


AND THEY CALL THIER TUTORS MENTOR'S!@!

Uhm, nope...just common sense and the way I speak I guess. (I'm only 17 in case you're wondering, and I don't live close enough to any ITT Tech to know someone from one)

ShockwaveISTHEBEST 12-08-2001 09:34 PM

well I have read the triggeraction stuff and strequal stuff in the new features, but it still looks like a bunch of jibberish when i see it in a script, and I still dont even know what there used for.

maximus_asinus 12-09-2001 01:03 AM

I am not much for explainations but I will try.
When you use strequals as you probably already know,its a flag (kinda like strcontains )
I will get right off to explain how you use it
First off I will set a value to server.variable as a string(you know what this is I hope).
if (created) {
setstring server.variable,69;
timeout=.05;
}

Thats pretty basic.
Now I want to use strequals in a flag:
//if the variable is equal to 69.
if (strequals(#s(server.variable),69) {
message #s(server.variable);//tells me what the string equals.
}

Now I will explain what these parts stand for.
#s is pretty basic.It shows a value of the variable in a string.
Then there is where you put the variable.Thats the (server.variable) part.you change it to be what you want it to be.
and then the ,69 part.Well basically the comma in this format just means equals to.Really its not that hard.
I probably wasn't much help.

Falcor 12-09-2001 01:40 AM

Quote:

Originally posted by Gspeed2000
Give yourself some goals, like sudden jolts of inspiration, like when I made a totally new chat system just to prove that there is a way better less laggy way to make a chat system ;-)
Faheria chat lags soo much b/c we only have like 56k bandwidth unlike you woh has like 12397679kbs


All times are GMT +2. The time now is 01:57 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.