Vjass

~GaLs~

† Ғσſ ŧħə ѕαĸε Φƒ ~Ğ䣚~ †
Reaction score
180
i have saw someone has been saying something like vjass...

Whats that...and where to get it?
 

~GaLs~

† Ғσſ ŧħə ѕαĸε Φƒ ~Ğ䣚~ †
Reaction score
180
whats that for..?
Handle var?
Whats that?
 

SFilip

Gone but not forgotten
Reaction score
634
vJass is a new syntax for Jass developed by Vexorian and achieved with the use of JassHelper, a preprocessor for Jass.
It has plenty of features, better read the manual for more info.
To use it you need to get NewGen.
 

~GaLs~

† Ғσſ ŧħə ѕαĸε Φƒ ~Ğ䣚~ †
Reaction score
180
arh ~
Dun torture me with that...I am a jass idiot...
So vjass is a New Syntex..?
 

SFilip

Gone but not forgotten
Reaction score
634
If you don't know Jass then vJass is impossible to explain.
 

PurgeandFire

zxcvmkgdfg
Reaction score
509
vJass is a new syntax for Jass developed by Vexorian and achieved with the use of JassHelper, a preprocessor for Jass.
It has plenty of features, better read the manual for more info.
To use it you need to get NewGen.

Well, actually, I believe Vexorian along with PitzerMike assembled all of the stuff, but mainly Pipedream did the work stuff. I think Vexorian said that or something for the description on wc3c. :D
 

~GaLs~

† Ғσſ ŧħə ѕαĸε Φƒ ~Ğ䣚~ †
Reaction score
180
okie...time to revive this thread...i knew some basics of jass in these days after reading ton ton and tons of tut of jass...

How to use Vjass?
 

SFilip

Gone but not forgotten
Reaction score
634
Get NewGen, read the manual, links to both in post #4.
 

~GaLs~

† Ғσſ ŧħə ѕαĸε Φƒ ~Ğ䣚~ †
Reaction score
180
aw...time to revive this thread...now i have got basic or....rookie knowledge about jass...

The problem i facing now is i cant be able to transfer variable between triggers...or functions...i have heard that vjass could help to achieve that...

And...wc3campaign is down...anyone has the manual for me?
 

SFilip

Gone but not forgotten
Reaction score
634

~GaLs~

† Ғσſ ŧħə ѕαĸε Φƒ ~Ğ䣚~ †
Reaction score
180
i have read all the words...in it...but i dont even know 1 of it.. damn..i am so noob..Anyway..i will start off with library..
JASS:
library one needs three
function one takes nothing returns integer
return 1
endfunction
endlibrary

library three 
function three takes nothing returns integer
return 3
endfunction
endlibrary


so that in the mapheader..it will be like this?
JASS:
function three takes nothing returns integer
return 3
endfunction

function one takes nothing returns integer
return 1
endfunction


then it will be initializer
i dont understand what is ways about initializer in the tut....what is initializer?


Next it will be private....
I am confuse from here till the end of the tut....what is a private?
Private is a variable?
And what's the diff btw normal things?

Please...and please if you wanted to explain...please include some examples....it is confusing me
 

PurgeandFire

zxcvmkgdfg
Reaction score
509
1. Yes, it will be like that.

Initializer is the same as needs, and requires or w/e. It is just a different name to what you prefer.

2. Well, a private function has many uses. Privates can only be used within its scope/library. The private function names stay private and can't be used outside of the scope. Say you do this:
JASS:
function JASS takes nothing returns nothing
    call KillUnit(GetTriggerUnit())
endfunction

function JASS takes nothing returns nothing
    call KillUnit(GetTriggerUnit())
endfunction


This, will definitely syntax. You'll have to change the name of one of the functions. If you do this:
JASS:
scope
    private function JASS takes nothing returns nothing
        call KillUnit(GetTriggerUnit())
    endfunction
endscope
function JASS takes nothing returns nothing
    call KillUnit(GetTriggerUnit())
endfunction


It won't syntax.

----------------

This is also useful for some common functions like "H2I". You can make it a private and use it only in that function. :D

Private just makes the function inaccessable outside of the scope and it reserves names. :)
 

~GaLs~

† Ғσſ ŧħə ѕαĸε Φƒ ~Ğ䣚~ †
Reaction score
180
aw...u copied the tut....-.- for the 2nd question...

>>Say you do this:
Isnt the 2 function same? it is just the name of the function causes an error says function redeclared...

>>Privates can only be used within its scope/library
sry to reverse the topic...but i know library as i mentioned above..it is just to bring a function up to the map header...but what do scope do?

The tut explain scope with a mess....due to my poor english...i feel more mess...-.-

>>The private function names stay private and can't be used outside of the scope
cant understand...stay private and cant be used outside of the scopE?
 

Vexorian

Why no custom sig?
Reaction score
187
Well, actually, I believe Vexorian along with PitzerMike assembled all of the stuff, but mainly Pipedream did the work stuff. I think Vexorian said that or something for the description on wc3c. :D

Pipedream: hacked world editor and warcraft III to allow .lua plugins
Vexorian: programmed jasshelper.
Pitzermike: some programs that do a lot of things.
Vexorian: bundled all tools together and called it newgen
bunch of people (including the above mentioned): thought how the vjass should be like, and failed absurdly

also: it is not a tutorial, it is a manual.

These are tutorials:
http://www.wc3campaigns.net/showthread.php?t=94242
http://www.wc3campaigns.net/showthread.php?t=92378
http://www.wc3campaigns.net/showthread.php?t=91491

Initializer is the same as needs, and requires or w/e.
No, it is not.
 

~GaLs~

† Ғσſ ŧħə ѕαĸε Φƒ ~Ğ䣚~ †
Reaction score
180
wow...thank you very very very much...vexo...I'd like it...
+repo :O
 

PurgeandFire

zxcvmkgdfg
Reaction score
509
No, it is not.

Yea, I accidently mistaked Initializer with uses...

It is also difficult to control what code is executed first, that's the reason libraries also have an initializer keyword, you can add initializer FUNCTION_NAME after the name of a library and it will make it be executed with priority using ExecuteFunc , ExecuteFunc is forced so it uses another thread, most libraries require heavy operations on init so we better prevent the init thread from crashing. After the initializer keyword the 'needs' statement might be used as well.

That is what initializer is used for.

Oh yea, and thanks for the job listing stuff. :p
 

~GaLs~

† Ғσſ ŧħə ѕαĸε Φƒ ~Ğ䣚~ †
Reaction score
180
where is the struct?
i still cant know anything about struct
 

~GaLs~

† Ғσſ ŧħə ѕαĸε Φƒ ~Ğ䣚~ †
Reaction score
180
bump....i seems cant find any tutorial of struct except the 1 introduce to struct....that tutorial is so confuse that it didnt even explain what .create is...zzz

Is there any tutorial about struct?
___________________________________
Thus i wonder why nowadays ppl didnt make classroom already...:(
And it is also time for me to join wc3campaign's forum... xD
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top