New functionality in scripts:
begin; #stat new scope with new variables
var int i 15; #new variable in the middle of script
loop var zz i; #repeat this code block `i` times, `zz` will have values from `0` to `i-1`
if eq zz 6;
break; #break out of loop block
end;
if eq zz 3;
continue; #skip rest of body of loop and repeat it from start with next `zz` value.
end;
end;
end;
I added too new function to multiple function in script for unit stats, idea is that in may cases you want add some value to some stat and you are not interested in current value, now you need use `getX` and `setX` to set some thing, now I added `addX` that add to value of stat.