|
|
|
|
JASS/AI Scripts Tutorials Contains tutorials regarding JASS scripting and the AI editor. Read the Rules before posting. |
 |
|
01-01-2008, 04:39 AM
|
#31 (permalink)
|
|
User
Join Date: Sep 2007
Posts: 387
|
when will the second part come? i dun want to be annoying, but just asking xD, i want to know it all about JASS. also, im patient, waiting.
|
|
|
01-02-2008, 03:27 PM
|
#32 (permalink)
|
|
Triggering ftw!
Join Date: Dec 2007
Posts: 205
|
yeah good question, just the same i wanted to ask xD
|
|
|
01-02-2008, 07:26 PM
|
#33 (permalink)
|
|
Keep On Smiling
Join Date: Sep 2007
Posts: 34
|
Second part? When did I ever say I was to release a second part? O.o
__________________
Visit us at TheArea!
|
|
|
01-03-2008, 06:18 PM
|
#34 (permalink)
|
|
Triggering ftw!
Join Date: Dec 2007
Posts: 205
|
wait anyhow did i post this comment to a wrong address, sorry!
but if u want you can make a 2nd part :D:D:D:D
and i still make sth wrong with the 'loop's and 'if's -.-
well his is not the theme to talk about it
greetz bReathl3sS
|
|
|
01-05-2008, 04:27 AM
|
#35 (permalink)
|
|
User
Join Date: Jan 2008
Posts: 9
|
Well, I just read over the tutorial, and I'm not totally sure that I understand functions and how they take and return things, or how to get the trigger to do things with what its taking. I'm fairly sure that this will clear up once I start turning my GUI stuff into Jass and experiment with it.
Another thing I'm not sure about is why there has to be four spaces before each line thats an indent. Is it required for the code to work or just there to simplify things?
I'm also wondering about is local variables. If a trigger detects it's events, starts performing it's actions, and has a wait action in it, then the same trigger detects its events again before it finishes the first time around, will the local variables stay the same for the trigger's first run, and be different for the trigger's second run while they are both running at the same time, though a few seconds apart?
Lastly, I'm not sure if I just dont understand Jass at all yet, or if this tutorial doesnt cover the Gui equal of events for Jass.
Everything taken into consideration, I enjoyed reading this tutorial and am pretty sure its given me the knowledge I need to start experimenting effectively with Jass, many thanks and +rep :).
|
|
|
01-16-2008, 02:28 PM
|
#36 (permalink)
|
|
User
Join Date: Sep 2007
Posts: 3
|
Great thanks for making this tutorial!
Im a old GUI guy and know quite everything there, so this was easy understanding for me.
thx again, i will go to read on now : )
|
|
|
01-17-2008, 12:43 PM
|
#37 (permalink)
|
|
Triggering ftw!
Join Date: Dec 2007
Posts: 205
|
Quote:
Originally Posted by Aeline
I'm also wondering about is local variables. If a trigger detects it's events, starts performing it's actions, and has a wait action in it, then the same trigger detects its events again before it finishes the first time around, will the local variables stay the same for the trigger's first run, and be different for the trigger's second run while they are both running at the same time, though a few seconds apart?
|
Well as i understood the tutorial, that's the advantage of locals:
They can run multiple times without changing values.
|
|
|
01-26-2008, 11:07 PM
|
#38 (permalink)
|
|
User
Join Date: Aug 2005
Posts: 14
|
+REP for easy (i think) explanation for a GUI'er like myself it took two hours to understand the basics...thanks man, the only thing is a bit more examples, maybe a simple function that do something real...
__________________
Fear nothing...
Live and learn...
|
|
|
02-29-2008, 12:36 PM
|
#39 (permalink)
|
|
Keep On Smiling
Join Date: Sep 2007
Posts: 34
|
Thanks all for kind comments about the tutorial. :)
Now on to answering questions.
> but if u want you can make a 2nd part
I covered up all the basics, I'm not sure there is room for a second part.
Maybe, we'll see.
> and i still make sth wrong with the 'loop's and 'if's
What do you have problems with exactly?
> Well, I just read over the tutorial, and I'm not totally sure that I understand functions and how they take and return things
In order to work perfectly functions needs to take values they can refer to. When a function returns something after it did a certain action it returns something that you (or other functions) could refer to.
> will the local variables stay the same for the trigger's first run, and be different for the trigger's second run while they are both running at the same time
Precisely.
__________________
Visit us at TheArea!
|
|
|
03-01-2008, 08:33 AM
|
#40 (permalink)
|
|
You can fuck anywhere. ;)
Join Date: May 2007
Posts: 206
|
Thank you Rheias. I always saw this and never took the time to read it, but tonight I was thinking to myself, heh I am bored. I also wanted to learn Jass, I went through the whole thing in a good 2 hours and now I know the basics of Jass and how it works
GJ
|
|
|
03-01-2008, 02:40 PM
|
#41 (permalink)
|
|
FOOTBALL
Join Date: Aug 2007
Posts: 924
|
2nd Tutorial
Perhaps you could go into detail about the JASS upgrades, NewGen and such
How structs work, and other things that I have seen in advanced code that makes my eyes bleed
|
|
|
03-04-2008, 03:20 PM
|
#42 (permalink)
|
|
Triggering ftw!
Join Date: Dec 2007
Posts: 205
|
Quote:
Originally Posted by Rheias
> and i still make sth wrong with the 'loop's and 'if's
What do you have problems with exactly?
Precisely.
|
Eeeeer, well now, i dont know which problem it was, but i solved it :D
i think it was just another error message of world edit which was wrong (showing that endif / endloop is missing)
well thanks to you i can now write my own trigger etc. in JASS
thank you man! you are the best ;)
greetz
|
|
|
03-09-2008, 01:15 AM
|
#43 (permalink)
|
|
User
Join Date: Apr 2005
Posts: 70
|
Very useful, this isn't my first programing language so I picked it up pretty quick. Thanks for the basics :).
Found a couple of spelling mistakes:
Quote:
|
By know you should understand the taking part of function
|
Should be now
Quote:
|
will cause World Editor to crush, like forgetting to put Endif
|
Should be crash
__________________
I've only been gone 2 years, I was surprised my account still existed o.o
|
|
|
03-13-2008, 02:05 PM
|
#44 (permalink)
|
|
Learning JASS
Join Date: Feb 2008
Posts: 205
|
going again to the C and JASS discussion... i can really say that JASS is like PHP, using functions, variables, and arrays.
Yes, i know, PHP is FAR more advanced and has a bigger flexibility. But it seems to me (now that i wanted to learn JASS) that JASS is really easy to learn if you actually have PHP knowledges (and i think viceversa).
I know that most of you will say that theyre not like each other, i know that web pages and war3 maps are different ¬¬ but the point is on the syntaxes and usage of the code.
As far as i know, C language is some kind of base for PHP, so thats why i think theres a close connection between C and JASS. Anyways, im conscious that they have differences for sure (PHP can use multidimensional Arrays for example)
|
|
|
03-18-2008, 05:03 AM
|
#45 (permalink)
|
|
User
Join Date: Mar 2008
Posts: 2
|
I think that even though a few things are wrong with it (nobody writes a perfect tutorial the first time), it still gives people transitioning from GUI to JASS an excellent path to follow.
+Rep.
__________________
I worship Kurt Cobain.
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|
All times are GMT. The time now is 03:45 AM.
|