- Joined
- May 1, 2008
- Messages
- 1,605
Moin moin =)
Yes I want to learn vJass now. I see there many people here, that understand it so I hope I get a little help with my start in vJass ^^
I will post here some question I have and try to learn from it.
NOTE: As you know all ( actually you should ) my english is bad. So please try to explain it step by step so I can understand it and learn from it. So I just start with my questions now and hope some can help me =)
1) How I start after setting the "spell configurations"?
For example, in a vJass spell you start with that:
Ok this part is very easy, but after the configuration, HOW I continue? I never know what is the next part after these configurations.
2) The .
Yes, what is the meaning of this . in vJass?
There you see a . in front of lvl and cast. I now the names "lvl" and "cast" are, I call it now: vJass variables. Behind the . the names are gray. So what is the meaning of the . and why is the word after the dot gray?
3) TimerUtils
What is this at all? A friend give me a link to it: http://www.wc3c.net/showthread.php?t=101322. I understand now that I can choose(?) between three types of timer or something like that ( blue - red - orange ) by setting the USE_HASH_TABLE and USE_FLEXIBLE_OFFSET. But HOW I use this TimerUtils in my vJass spell? Need I add a specified line in my spell then? Or is this use automatically?
Yes these are my three starting questions. I think I will have more after some time, but I start at 0 now, and I want learn it step by step.
For learning vJass I talked to watermelon already, but it's a bad feeling for me to ask him every time every day about vJass, so I make this Thread now for all who want start with vJass ^^
Greetings, Thanks and Peace
Dr. Boom
Yes I want to learn vJass now. I see there many people here, that understand it so I hope I get a little help with my start in vJass ^^
I will post here some question I have and try to learn from it.
NOTE: As you know all ( actually you should ) my english is bad. So please try to explain it step by step so I can understand it and learn from it. So I just start with my questions now and hope some can help me =)
1) How I start after setting the "spell configurations"?
For example, in a vJass spell you start with that:
JASS:
scope MyTrigger initializer Init
globals
private constant integer SPELL_ID = 'A001'
private constant integer DUMMY_ID = 'h001'
// and so on
endglobals
// Now you can continue the settings with stuff like
private constant function Area takes integer lvl returns real
return 350. + 50*lvl
endfunction
// and so on ( with AOE, damage and so on )
2) The .
Yes, what is the meaning of this . in vJass?
JASS:
set .lvl = GetUnitAbilityLevel(.cast,SPELL_ID)
3) TimerUtils
What is this at all? A friend give me a link to it: http://www.wc3c.net/showthread.php?t=101322. I understand now that I can choose(?) between three types of timer or something like that ( blue - red - orange ) by setting the USE_HASH_TABLE and USE_FLEXIBLE_OFFSET. But HOW I use this TimerUtils in my vJass spell? Need I add a specified line in my spell then? Or is this use automatically?
Yes these are my three starting questions. I think I will have more after some time, but I start at 0 now, and I want learn it step by step.
For learning vJass I talked to watermelon already, but it's a bad feeling for me to ask him every time every day about vJass, so I make this Thread now for all who want start with vJass ^^
Greetings, Thanks and Peace
Dr. Boom