OKEY OKEY, i dont want to give up, some JASS cant defeat me. <--- these words help me a lot to continue
so, i m confused as any other beginner at/in JASS.
First off, WHAT IS NATIVE ???
And another thing, i dont understand how to find if target unit is Undeath/or other race
Im trying to remake holy bolt dealing damage to / or healing (depending at intelligence of hero) target unit. (i hoped it's simple enough to be done)
My start was creating trigger with condition which determines what is the ID of used spell. (just copying the beginning of tutorial)
Then making my own Locals, (integer - for damage, unit - caster, unit - enemy) .............and, then i started to think about how to find if unit is Undeath/or another race, If its mechanical/non......so i did Locals, unittype tralalalaa.............lala, and that's the point where i stopped.
Should i use If/Then/Else(?) where im gonna do something like this
If Unittype "U" == tralala (i have no clue what to put instead of TRALALA)
call Some cool damage function
Else
call Some extra-cool healing function
HMMM? thanks for help, im sure this is hundred repeated question, but i havent found proper answer, all tutorials (or just those i went through) are just about setting integers and unit groups, movings units, and anything else i dont need
- im sure i did at least 378 grammatical mistakes and spelling is a word i dont know, but be sure that learnig JASS is not a good activity at 5:35 AM
so, i m confused as any other beginner at/in JASS.
First off, WHAT IS NATIVE ???
And another thing, i dont understand how to find if target unit is Undeath/or other race
Im trying to remake holy bolt dealing damage to / or healing (depending at intelligence of hero) target unit. (i hoped it's simple enough to be done)
My start was creating trigger with condition which determines what is the ID of used spell. (just copying the beginning of tutorial)
Then making my own Locals, (integer - for damage, unit - caster, unit - enemy) .............and, then i started to think about how to find if unit is Undeath/or another race, If its mechanical/non......so i did Locals, unittype tralalalaa.............lala, and that's the point where i stopped.
Should i use If/Then/Else(?) where im gonna do something like this
If Unittype "U" == tralala (i have no clue what to put instead of TRALALA)
call Some cool damage function
Else
call Some extra-cool healing function
HMMM? thanks for help, im sure this is hundred repeated question, but i havent found proper answer, all tutorials (or just those i went through) are just about setting integers and unit groups, movings units, and anything else i dont need
- im sure i did at least 378 grammatical mistakes and spelling is a word i dont know, but be sure that learnig JASS is not a good activity at 5:35 AM