I'm trying to write my first script in Lua, going well except for one little thing.
To see if a value is changed I use ~= between the old and the new value. Problem is that Moho round off the value so the condition gets false when it shouldn't be, is there a way to compare two values only down to the first 3 decimals with the expression ~=?
Decimals in Lua?
Moderators: Víctor Paredes, Belgarath, slowtiger