HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Tutorial Idea

08-24-2002, 09:39 PM#1
Guest
With all these people using JASS scripting to write their triggers, it looks a lot easier than using the GUI. Unfortunately, I haven't got the first clue how to use it. Well, I can understand a little, and program some basic stuff, but that's about it. Someone should make a JASS tutorial.
08-24-2002, 09:47 PM#2
weaaddar
Jass has many downsides, even if you've code in jass for a while your gonna forget things like how to explode units or how to kill them or whatever so your often gonna be converting a trigger to custom text. (That is a Very good learning tool).

Only reason to code in jass is A) large loops B) Large if then elses C) dialogs D) you hate having more then 4 varaibles at any time in your map cuz your a wierdo (like myself).

Also another good trick is the 2d array. Posted by mr123 its very useful heres its function and how to access it.
Ofcourse it assumes you know the maxuim of the Y axis.
function index takes integer x, integer y returns integer
return(x*Sizeof2+y)
endfunction
Set Array[index(xaxispoint, yaxispoint} = whatever
08-24-2002, 11:43 PM#3
SuperIKI
MORE THAN 4 VARIABLES ON A SINGLE MAP?
Who would do this? That's sick!
locals all the way!
:D

P.S.
Sometimes it's good to make the trigger with the GUI and just add some few things with JASS. It's the fastest way, I think.
But you need JASS for using self-made functions, I think. I can do it with JASS and I don't know how to mod the WorldEditor, so I need JASS for that.
08-25-2002, 11:45 AM#4
Guest
when can i find that scripting program ??

i prefer typing than click =)
08-25-2002, 01:02 PM#5
SuperIKI
Trigger Editor - Edit - Convert to Custom Text