Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-18-2016, 07:23 PM
Kirko Kirko is offline
Registered Guest
Join Date: Dec 2014
Location: Texas
Posts: 61
Kirko has a spectacular aura aboutKirko has a spectacular aura about
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?
Reply With Quote
  #2  
Old 05-19-2016, 02:04 AM
ffcmike ffcmike is offline
Banned
Join Date: Jul 2004
Location: London
Posts: 2,029
ffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond repute
Send a message via AIM to ffcmike Send a message via MSN to ffcmike
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)); 

Last edited by ffcmike; 05-19-2016 at 05:27 AM..
Reply With Quote
  #3  
Old 05-22-2016, 08:27 PM
Kirko Kirko is offline
Registered Guest
Join Date: Dec 2014
Location: Texas
Posts: 61
Kirko has a spectacular aura aboutKirko has a spectacular aura about
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.
Reply With Quote
  #4  
Old 06-15-2016, 10:04 PM
MysticalDragon MysticalDragon is offline
Global Administration
MysticalDragon's Avatar
Join Date: Oct 2002
Location: Lynn Ma
Posts: 883
MysticalDragon is just really niceMysticalDragon is just really nice
Send a message via AIM to MysticalDragon Send a message via MSN to MysticalDragon
it is possible those functions are for the Skills Games, so they would be restricted on local servers. Just a guess though.
__________________
~Delteria Support
~Playerworld Support
~PWA Chief
http://support.toonslab.com
[email protected]



Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:22 PM.


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