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!
If you are using a Non-English localized operating system then there is a chance it is being caused by incorrect numeric delimiters.
For example in German the number "10000.25" would be "10000,25".
The problem is the JASS script is only designed for English localization. The automatic statements generated by GUI for units and map initialization calls will use your system localization for the real numbers. The JASS compiler then interprets these as two separate parameters so throws an invalid number of parameters error.
The solution is to change your delimiter in...
Control Pannel -> Region -> Additional Settings...
This error started with one of the patches. Blizzard must have unintentionally linked in a localized output producing function (eg some versions of printf) when the output for the script should never be localized (since JASS only supports US localization).
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.