![]() |
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! |
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.
|
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... |
Quote:
|
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.
|
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. |
Quote:
read the newfeatures.txt for triggeraction |
Quote:
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!@! |
Don't be afraid to ask questions.
|
Quote:
|
Quote:
|
Quote:
|
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.
|
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. |
Quote:
|
| 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.