Warcraft III resources & community, 2003–2006 · archived

error in cold slash

3 posts
#1

error in cold slash

im using cold slash ability from vexs map but when i try and save i get this error:

Line70: Expected a function name (Line 70 below)

call DamageUnit( GetOwningPlayer(u), damage, target )
#2
I think you must be using his Caster System to do this. You need to copy everything in the Custom Script section (the map at the very top of the menu) in order for that to work. DamageUnit is not a built-in function, Vexorian added it.
#3
ok maybe thats it