Trigger Error

Status
Not open for further replies.
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).
 
Status
Not open for further replies.
Back
Top