Halstrom Posted February 21, 2018 Share Posted February 21, 2018 (edited) Anyone know how to get the SquareRoot function to work, the CK doesn't recognise it. iMoveDist = sqrt(4.0) The error : sqrt is not a function or does not exist. Also abs and pow do the same too :/ Edited February 21, 2018 by Halstrom Link to comment Share on other sites More sharing options...
Surilindur Posted February 21, 2018 Share Posted February 21, 2018 (edited) According to the wiki, those functions are in the Math script, so have you tried, for example, something like: float fMoveDist = Math.sqrt(4.0)I have not worked with Fallout 4 myself much but that was the first thing that crossed my mind, if it helps. If not, then hopefully someone else has a better idea of what to try. :thumbsup: Edited February 21, 2018 by Contrathetix Link to comment Share on other sites More sharing options...
Halstrom Posted February 22, 2018 Author Share Posted February 22, 2018 Cool, that was the issue :smile: Link to comment Share on other sites More sharing options...
Recommended Posts