byteuf.blogg.se

World editor warcraft 3 arithmetic rounding
World editor warcraft 3 arithmetic rounding













The accuracy is up to the second digit(one hundredth). An integer can assume any value between -2147483648 to 2147483647.(Thanks wonderpriest).ī) A Real variable - this variable can take any real value, be it positive, negative, whole or decimal. Thats why there are less math functions with it and also no trigonometric functions at all. Variables - I'm gonna make a quick explanation, there are 2 types of numeric variables in the World Editor:Ī) An Integer variable - this variable can take ONLY whole(positive or negative) numbers(like counting units and other things that can never have a decimal). I guess anyone who has brains enough to understand this tutorial would also have enough sense of logic to be able to understand triggers quite well.Ģ. Math functions are used in triggers to calculate diffrent numbers and if used to the full potential can be a priceless asset in creating a great trigger enchanced spell or some other original and/or fancy feature in your map, that would make it outstanding. One thing I'm saying from the beggining - I'm not going to (re)teach all the maths - thats something you learn in school, not in a WE tutorial! With that said lets start with the basics you need to know.ġ. I guess the algebra(on the level WE offers it) will seem easy enough, but trigonometry may be a diffrent thing(I wasn't good at it either). This is a comprehensive tutorial that (if you are willing to read it through) will teach you about all the possibilities for working with numbers when using the World Editor. And its also an effort to prove that what you learn(ed) in math classes in school can be useful. Its aimed at begginers as well as advanced users. This tutorial is about all the mathematic functions and possibilities that exist withing the World Editor.















World editor warcraft 3 arithmetic rounding