Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
1st - You do not use the "jass"-bracers to make your code easily readable for others.
<jass></jass>
2nd - Your code uses functions, which are not defined in "common.j" or "blizzard.j".
(GetHandleUnit(), GetHandleLocation(), etc.)
And that is the point, why your code does not work.
JASS:
local unit u = GetHandleUnit(t,"u")
The VM thinks, "GetHandleUnit(t,"u")" is the name of a variable but as there is no variable with this name...
You have to write these handle-functions into the head of your script.
They can be found somewhere in this forum but I am too busy (== lazy ^^) to seek them.
Seek them by yourself or ask UnMi.
3rd - You use a trigger condition. Replace it by writing your "Actions"-code into an additional if-structure with the return value of the "Conditions"-function.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.