×
Меню
Индекс

MSFD Square root

 
 
[no fix] GetSquareRoot, number (float)
 
set var_1 to GetSquareRoot var_2
 
The GetSquareRoot function returns the square root of the given number. This can be useful for vector or distance calculations  (remember Pythagoras?).
It is possible to get the square root of a number without using this function, however it is significantly slower. See Soralis’s Math mod for an example script. MWSE also has a square root function.