View Single Post
  #3  
Old 09-03-2006, 08:37 AM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
Your best bet it to parse an object for functions.

In TGraalVar
getfunctions() - returns object - gets the names of all functions of the object as array, also each entry has subvariables which give more information about the function ("parameters", "description", "scope")

PHP Code:
function onCreated()
{
  
temp.test level.getfunctions();
  echo(
temp.test);

This prints out a line of functions into RC chat. Best to make it pm the results to someone or pipe it to a debug window. Clientside it to get different results.

http://wiki.graal.us/Script_Functions:_NPC_Server
http://wiki.graal.us/Script_Functions:_Client
Nice list of functions. Use these while the Graal Bible is down.

The Graal Bible was down at the time of writing this. If you need more help just find me on Graal.

Last edited by Twinny; 09-03-2006 at 09:12 AM..
Reply With Quote