Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   math.atan2 function not found (https://forums.graalonline.com/forums/showthread.php?t=134270300)

Kirko 05-18-2016 07:23 PM

math.atan2 function not found
 
I'm trying to use Math.atan2 but always get the error that the function isn't found. I tried just doing atan2 without the Math part but still doesn't work. Can we get this fixed?

ffcmike 05-19-2016 02:04 AM

This could well be a function that simply doesn't exist despite being within documentation/scriptfunctions.

Shame you can't use Math as a construct as it might then be possible to do:

PHP Code:

temp.= new Math();
echo(
temp.m.atan2(floatfloat)); 


Kirko 05-22-2016 08:27 PM

Seems like this isn't the only function missing :(
Array.splice and push aren't found also.

I can make an alternative way to get want I I'm trying to do but still would be nice if someone can find them. :)

MysticalDragon 06-15-2016 10:04 PM

it is possible those functions are for the Skills Games, so they would be restricted on local servers. Just a guess though.


All times are GMT +2. The time now is 05:18 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.