| 02-29-2004, 10:53 PM | #1 |
I have absolutely NO recognition to JASS whatsoever...I know simplified triggering, but no JASS. Anyone know of a good tutorial that can explain everything, and has basic coverage of JASS? I think I can get it from there... |
| 02-29-2004, 11:34 PM | #2 |
| 02-29-2004, 11:38 PM | #3 |
Do you know any other programming language? |
| 03-01-2004, 08:54 AM | #4 |
Scyze: I Myself am in the progress of writing a COMPLETE Jass article aimed for the beginner/GUI-triggerer. I have finished 2 chapters of it allready. However, untill I release it, you will have to do with the jass-site at sourceforge, or the JASS/AI Faq Oinker linked. Cubasis |
| 03-09-2004, 10:44 AM | #5 |
I'd like to help you out, not quite sure what your looking for though. I only started today with JASS but knowledge from other programming languages is helping me learn faster than most. as i go i'm documenting all code with examples & decriptions for my own memory purposes, at current i don't have it online anywhere as i couldn't be bothered, but if u want a copy of what i've done so far just e-mail me [email protected] NOTE: have a very clear subject line so i don't just delete ur msg thinking its spam (yes i'm overflowing with it) ``Laterz |
| 03-09-2004, 07:38 PM | #6 |
A basic tutorial I mean to give me a step up to the more complicated things...I have been studying JavaScript for a while now, and I have a vague understanding of it...a lot like JASS or vise versa... Thanks for the tutorials. I guess I would need JASS for the more complex things such as spells...One quick question, what does the return command mean? :\ |
| 03-09-2004, 09:19 PM | #7 | |
Quote:
The return statement is the base of Function-based language. Basicly, when you call upon a function, you normally want it to do something, and sometimes you want it to return something when it's finished. That's exactly what return is. F.ex. If i'd make a Addition function, i would have it take 2 values from the user, and return 1 integer as a "sum". You have to specify what kind of value you want to return (a whole number? a decimal? a string?) in the function-header. Then at the bottom of your function (normally), you write "return #" where # can be a value, variable, or a expression. So then, I could call this function, and get it's return, like f.ex. set MyIntegerVariable = Addition( 5, 7 ) So the return of "Addition" would go into MyIntegerVariable. Hope this helped. Cubasis |
| 03-12-2004, 09:30 AM | #8 |
Anyone have the updated WC3C link? |
| 03-12-2004, 09:36 AM | #9 | |
Quote:
We were talking about the stickied AI/JASS faq in this forum, http://www.wc3campaigns.com/showthread.php?t=4867 Cubasis |
| 03-13-2004, 07:24 AM | #10 |
I am having a few problems with JASS When i use the war3map.j file by clicking on the map name in WE and typing in my code, after saving every trigger seems to f*%$ up. The code that I am using is to apply hero limits to custom hero's here it is, if there is any problems with the code plz tell me -- call ReducePlayerTechMaxAllowed(Player(index), 'H000:Hvwd', bj_MELEE_HERO_TYPE_LIMIT) call ReducePlayerTechMaxAllowed(Player(index), 'H001:Hant', bj_MELEE_HERO_TYPE_LIMIT) call ReducePlayerTechMaxAllowed(Player(index), 'H002:Hgam', bj_MELEE_HERO_TYPE_LIMIT) call ReducePlayerTechMaxAllowed(Player(index), 'H003:Huth', bj_MELEE_HERO_TYPE_LIMIT) call ReducePlayerTechMaxAllowed(Player(index), 'H004:Hhkl', bj_MELEE_HERO_TYPE_LIMIT) call ReducePlayerTechMaxAllowed(Player(index), 'N00I:Nklj', bj_MELEE_HERO_TYPE_LIMIT) call ReducePlayerTechMaxAllowed(Player(index), 'H00J:Nbrn', bj_MELEE_HERO_TYPE_LIMIT) call ReducePlayerTechMaxAllowed(Player(index), 'H00K:Nbrn', bj_MELEE_HERO_TYPE_LIMIT) call ReducePlayerTechMaxAllowed(Player(index), 'H00L:Nplh', bj_MELEE_HERO_TYPE_LIMIT) call ReducePlayerTechMaxAllowed(Player(index), 'H00M:Nbrn', bj_MELEE_HERO_TYPE_LIMIT) |
| 03-13-2004, 10:46 AM | #11 |
'N00I:Nklj' You just have to enter 'N00I' not the unit its based on as well that may fix it. |
| 03-13-2004, 11:29 AM | #12 |
Oh, And just one safety-check....did you put that code inside a function? and are you actually call it from somewhere? Cubasis |
| 03-16-2004, 03:57 AM | #13 |
Ummm... the shortening of the name didnt work, so i edited blizzard.j and imported it into my map changing the path to scripts\blizzard.j -- it has been working so far and this way I dont have to "call" variables from anywhere since they are already set in the file |
