Warcraft III resources & community, 2003–2006 · archived

Why this line has error?

4 posts
#1

Why this line has error?

I am a beginner of making JASS script, so I always see other people script for learn. But when i use local Target = GetSpellTargetUnit(), a error occur when I save. It say need a handle or something. Why??? :?:
#2
local type [b]variable_name[b/] = value
Meaning you would need:
local unit target = GetSpellTargetUnit()
#3
In other words, you missed the handle type.
#4
ayuh, you havent told wc3 what it can store in that variable.