Creation/Dev/Script/Clientside Functions: Difference between revisions

From Graal Bible
(Updated to v5.1.1)
No edit summary
Line 52: Line 52:
   $pref::video::visibledistance - float
   $pref::video::visibledistance - float
   $pref::video::windowmode - string
   $pref::video::windowmode - string
  $scenelighting::lightingprogress - float (read only)
</pre>
  allfeatures - integer (read only)
{| border="0" cellpadding="2" width="100%"
  allplayerscount - integer (read only)
| '''Function'''
  allrenderobjecttypes - integer (read only)
| '''Notes'''
  allstats - integer (read only)
|-
  canspin - boolean (read only)
| allfeatures
  carriesblackstone - boolean (read only)
| ''integer (read only)''
  carriesbush - boolean (read only)
|-
  carriesnpc - boolean (read only)
| allplayerscount
  carriessign - boolean (read only)
| ''integer (read only). Returns the count of all players on your playerlist, including IRC bots.''
  carriesstone - boolean (read only)
|-
  carriesvase - boolean (read only)
| allrenderobjecttypes
  downloadfile - string (read only)
| ''integer (read only)''
  downloadpos - integer (read only)
|-
  downloadsize - integer (read only)
| allstats  
  editingmission - boolean
| ''integer (read only). Used with showstats() in order to show all stats.''
  emoticonchar - string (read only)
|-
  focusx - float (read only)
| canspin
  focusy - float (read only)
| ''boolean (read only). Returns true of false if the player has spin attack.''
  ghostsnear - boolean (read only)
|-
  graalplugincookie - string (read only)
| carriesblackstone
  graalversion - float (read only)
| ''boolean (read only). Returns whether the player is carrying a black stone.''
  gravity - float
|-
  installedlanguages - string (read only)
| carriesbush
  isapplicationactive - boolean (read only)
| ''boolean (read only). Returns whether the player is carrying a bush.''
  iscarrying - boolean (read only)
|-
  isfocused - boolean (read only)
| carriesnpc
  isgraal3d - boolean (read only)
| ''boolean (read only). Returns whether the player is carrying an NPC''
  isgraalplugin - boolean (read only)
|-
  isleader - boolean (read only)
| carriessign
  isonmap - boolean (read only)
| ''boolean (read only). Returns whether the player is carrying a sign.''
  isopengl - boolean (read only)
|-
  isrecordingvideo - boolean (read only)
| carriesstone
  jpegquality - integer
| ''boolean (read only). Returns whether the player is carrying a stone.''
  lastdownloadfile - string (read only)
|-
  leftmousebutton - boolean (read only)
| carriesvase
  leftmousebuttonglobal - boolean (read only)
| ''boolean (read only). Returns whether the player is carrying a vase.''
  levelorgx - float (read only)
|-
  levelorgy - float (read only)
| downloadfile
  lighteffectsenabled - boolean
| ''string (read only). Returns the currently downloaded file.''
  middlemousebutton - boolean (read only)
|-
  middlemousebuttonglobal - boolean (read only)
| downloadpos
  mousebuttons - integer (read only)
| ''integer (read only). Returns the position of the currently downloaded file.''
  mousebuttonsglobal - integer (read only)
|-
  mousepitch - float (read only)
| downloadsize
  mousescreenx - integer
| ''integer (read only). Returns the size of the currently downloaded file.''
  mousescreeny - integer
|-
  mousewheeldelta - integer (read only)
| editingmission
  mousex - float
| ''boolean''
  mousey - float
|-
  mouseyaw - float (read only)
| emoticonchar
  musiclen - integer (read only)
| ''string (read only)''
  musicpos - integer (read only)
|-
  particleeffectsenabled - boolean
| focusx
  rightmousebutton - boolean (read only)
| ''float (read only). Position of the camera in tile units.''
  rightmousebuttonglobal - boolean (read only)
|-
  screenheight - integer (read only)
| focusy
  screenwidth - integer (read only)
| ''float (read only). Position of the camera in tile units.''
  scriptedcontrols - boolean (read only)
|-
  scriptedplayerlist - boolean (read only)
| ghostsnear
  scriptlogwritetoreadonly - boolean
| ''boolean (read only). If a ghost(observer) is in the same level as the player.''
  selectedlistplayers - object
|-
  selectedsword - integer
| graalplugincookie
  selectedweapon - integer
| ''string (read only)''
  servername - string (read only)
|-
  serverstartconnect - string
| graalversion
  serverstartparams - string
| ''float (read only). Version of Graal the player is using.''
  shotbybaddy - boolean (read only)
|-
| gravity
| ''float. The gravity value that effects how fast projectiles fall. It universally effects all projectiles.''
|-
| installedlanguages
| ''string (read only)''
|-
| isapplicationactive
| ''boolean (read only). Is Graal window active?''
|-
| iscarrying
| ''boolean (read only). Returns true of false if the player is carrying something.''
|-
| isfocused
| ''boolean (read only)''
|-
| isgraal3d
| ''boolean (read only)''
|-
| isgraalplugin
| ''boolean (read only)''
|-
| isleader
| ''boolean (read only). Player was the first to enter the level.''
|-
| isonmap
| ''boolean (read only). Player is on a map.''
|-
| isopengl
| ''boolean (read only). Graal is in opengl mode.''
|-
| isrecordingvideo
| ''boolean (read only). Player is currently recording(alt+6) Graal.''
|-
| jpegquality
| ''integer. Quality of jpegs.''
|-
| isgraalplugin
| ''boolean (read only)''
|-
| lastdownloadfile
| ''string (read only). The last file downloaded.''
|-
| leftmousebutton
| ''boolean (read only). If the left mouse button is pressed.''
|-
| leftmousebuttonglobal
| ''boolean (read only). If the left mouse button is pressed. Returns whether mouse is in focus of GUIs or not.''
|-
| levelorgx
| ''float (read only)''
|-
| levelorgy
| ''float (read only)''
|-
| lighteffectsenabled
| ''boolean. Whether the player has their lights enabled via options.''
|-
| middlemousebutton
| ''boolean (read only). If the middle mouse button is pressed''
|-
| middlemousebuttonglobal
| ''boolean (read only). If the middle mouse button is pressed. Returns whether mouse is in focus of GUIs or not.''
|-
| mousebuttons  
| ''integer (read only)''
|-
| mousebuttonsglobal
| ''integer (read only)''
|-
| mousepitch
| ''float (read only) [Graal3D]''
|-
| mousescreenx  
| ''integer. Position of the mouse in the Graal screen, in pixel units on the x-axis.''
|-
| mousescreeny
| ''integer. Position of the mouse in the Graal screen, in pixel units on the y-axis.''
|-
| mousewheeldelta
| ''integer (read only). How much the mouse wheel has been scrolled.''
|-
| mousex
| ''float. Position of the mouse in the level, in tile units, on the x-axis.''
|-
| mousey
| ''float. Position of the mouse in the level, in tile units, on the y-axis''
|-
| mouseyaw
| ''float (read only) [Graal3D]''
|-
| musiclen  
| ''integer (read only). Length of current playing '''MP3'''''
|-
| musicpos
| ''integer (read only). Position of current playing '''MP3'''''
|-
| particleeffectsenabled
| ''boolean. If player has particles enabled in their options.''
|-
| rightmousebutton  
| ''boolean (read only). If the right mouse button is pressed''
|-
| rightmousebuttonglobal  
| ''boolean (read only). If the right mouse button is pressed. Returns whether mouse is in focus of GUIs or not.''
|-
| screenheight
| ''integer (read only). Height of the Graal screen in pixel units.''
|-
| screenwidth
| ''integer (read only). Width of the Graal screen in pixel units.''
|-
| scriptedcontrols  
| ''boolean (read only)''
|-
| scriptedplayerlist
| ''boolean (read only). Whether the player has the scripted playerlist enabled.''
|-
| scriptlogwritetoreadonly
| ''boolean''
|-
| selectedlistplayers
| ''object. An object of all players selected on the playerlist.''
|-
| selectedsword  
| ''integer''
|-
| selectedweapon
| ''integer. Index of the currently selected weapon.''
|-
| servername
| ''string (read only). Name of the server.''
|-
| serverstartconnect  
| ''string''
|-
| serverstartparams
| ''string''
|-
| shotbybaddy
| ''boolean (read only). If the player is shot by a baddy(default) arrow.''
|}
 
<pre>
   shotbyplayer - boolean (read only)
   shotbyplayer - boolean (read only)
   showterraingrid - boolean
   showterraingrid - boolean

Revision as of 19:58, 17 November 2008

Global:
  $pref::audio::choosenvoicecodec - integer
  $pref::audio::microactivatebyvolume - boolean
  $pref::audio::microactivationlevel - integer
  $pref::audio::microinputdevice - integer
  $pref::audio::microon - boolean
  $pref::audio::microvolumefactor - integer
  $pref::audio::midivolume - integer
  $pref::audio::mp3volume - integer
  $pref::audio::radiovolume - integer
  $pref::audio::reversestereo - boolean
  $pref::audio::sfxvolume - integer
  $pref::audio::voicevolume - integer
  $pref::capture::allowbyscript - boolean (read only)
  $pref::capture::area - string
  $pref::capture::audiobitrate - integer
  $pref::capture::disabledaynight - boolean
  $pref::capture::format - string
  $pref::capture::fps - integer
  $pref::capture::hideinterface - boolean
  $pref::capture::recordaudio - boolean
  $pref::capture::showmouse - boolean
  $pref::capture::size - string
  $pref::capture::videobitrate - integer
  $pref::graal::allowglobalpms - boolean
  $pref::graal::automapping - boolean
  $pref::graal::defaultfontname - string
  $pref::graal::defaultfontsize - integer
  $pref::graal::dontconnectlevels - boolean
  $pref::graal::dontloadlistheads - boolean
  $pref::graal::dontsavepasswords - boolean
  $pref::graal::dontsavepms - boolean
  $pref::graal::fixedport - boolean
  $pref::graal::fixedudpport - integer
  $pref::graal::language - string
  $pref::graal::limitnicknames - boolean
  $pref::graal::loadbuddylistfromserver - boolean
  $pref::graal::nicknamelimit - integer
  $pref::graal::nomassmessages - boolean
  $pref::graal::notoalls - boolean
  $pref::graal::noudp - boolean
  $pref::graal::showyourselfonbuddylists - boolean
  $pref::input::mousesensitivity - float
  $pref::interior::lockarrays - boolean
  $pref::video::defaultguistyle - string
  $pref::video::detailfactor - float
  $pref::video::fogdistance - float
  $pref::video::fullscreenmode - string
  $pref::video::resolution - integer
  $pref::video::screenshotformat - string
  $pref::video::visibledistance - float
  $pref::video::windowmode - string
Function Notes
allfeatures integer (read only)
allplayerscount integer (read only). Returns the count of all players on your playerlist, including IRC bots.
allrenderobjecttypes integer (read only)
allstats integer (read only). Used with showstats() in order to show all stats.
canspin boolean (read only). Returns true of false if the player has spin attack.
carriesblackstone boolean (read only). Returns whether the player is carrying a black stone.
carriesbush boolean (read only). Returns whether the player is carrying a bush.
carriesnpc boolean (read only). Returns whether the player is carrying an NPC
carriessign boolean (read only). Returns whether the player is carrying a sign.
carriesstone boolean (read only). Returns whether the player is carrying a stone.
carriesvase boolean (read only). Returns whether the player is carrying a vase.
downloadfile string (read only). Returns the currently downloaded file.
downloadpos integer (read only). Returns the position of the currently downloaded file.
downloadsize integer (read only). Returns the size of the currently downloaded file.
editingmission boolean
emoticonchar string (read only)
focusx float (read only). Position of the camera in tile units.
focusy float (read only). Position of the camera in tile units.
ghostsnear boolean (read only). If a ghost(observer) is in the same level as the player.
graalplugincookie string (read only)
graalversion float (read only). Version of Graal the player is using.
gravity float. The gravity value that effects how fast projectiles fall. It universally effects all projectiles.
installedlanguages string (read only)
isapplicationactive boolean (read only). Is Graal window active?
iscarrying boolean (read only). Returns true of false if the player is carrying something.
isfocused boolean (read only)
isgraal3d boolean (read only)
isgraalplugin boolean (read only)
isleader boolean (read only). Player was the first to enter the level.
isonmap boolean (read only). Player is on a map.
isopengl boolean (read only). Graal is in opengl mode.
isrecordingvideo boolean (read only). Player is currently recording(alt+6) Graal.
jpegquality integer. Quality of jpegs.
isgraalplugin boolean (read only)
lastdownloadfile string (read only). The last file downloaded.
leftmousebutton boolean (read only). If the left mouse button is pressed.
leftmousebuttonglobal boolean (read only). If the left mouse button is pressed. Returns whether mouse is in focus of GUIs or not.
levelorgx float (read only)
levelorgy float (read only)
lighteffectsenabled boolean. Whether the player has their lights enabled via options.
middlemousebutton boolean (read only). If the middle mouse button is pressed
middlemousebuttonglobal boolean (read only). If the middle mouse button is pressed. Returns whether mouse is in focus of GUIs or not.
mousebuttons integer (read only)
mousebuttonsglobal integer (read only)
mousepitch float (read only) [Graal3D]
mousescreenx integer. Position of the mouse in the Graal screen, in pixel units on the x-axis.
mousescreeny integer. Position of the mouse in the Graal screen, in pixel units on the y-axis.
mousewheeldelta integer (read only). How much the mouse wheel has been scrolled.
mousex float. Position of the mouse in the level, in tile units, on the x-axis.
mousey float. Position of the mouse in the level, in tile units, on the y-axis
mouseyaw float (read only) [Graal3D]
musiclen integer (read only). Length of current playing MP3
musicpos integer (read only). Position of current playing MP3
particleeffectsenabled boolean. If player has particles enabled in their options.
rightmousebutton boolean (read only). If the right mouse button is pressed
rightmousebuttonglobal boolean (read only). If the right mouse button is pressed. Returns whether mouse is in focus of GUIs or not.
screenheight integer (read only). Height of the Graal screen in pixel units.
screenwidth integer (read only). Width of the Graal screen in pixel units.
scriptedcontrols boolean (read only)
scriptedplayerlist boolean (read only). Whether the player has the scripted playerlist enabled.
scriptlogwritetoreadonly boolean
selectedlistplayers object. An object of all players selected on the playerlist.
selectedsword integer
selectedweapon integer. Index of the currently selected weapon.
servername string (read only). Name of the server.
serverstartconnect string
serverstartparams string
shotbybaddy boolean (read only). If the player is shot by a baddy(default) arrow.
  shotbyplayer - boolean (read only)
  showterraingrid - boolean
  spritesimage - string
  statusimage - string
  timevar - integer (read only)
  timevar2 - float (read only)
  timevar3 - float (read only) - synchronized time which works on both server- and client-side, precision is milliseconds, only available for Graal3D right now
  wasshooted - boolean (read only)
  waterheight - float
  weapons - object (read only)
  weaponsenabled - boolean
  weathereffectsenabled - boolean
  worldclockstopped - boolean
  worldhour - integer
  worldminute - float
  worldminutesofday - float
  worldrealsecondsperday - float
  addcontrol(obj)
  addmaterialmapping(str, str) - returns boolean
  addtiledef(str, str, int)
  addtiledef2(str, str, int, int)
  aindexof(float, obj) - returns integer
  arccos(float) - returns float
  arcsin(float) - returns float
  attachplayertoobj(int, int)
  base64decode(str) - returns string
  base64encode(str) - returns string
  boxcontains(str, str) - returns boolean
  boxcontainsvector(str, str) - returns boolean
  boxintersect(str, str) - returns string
  boxoverlaps(str, str) - returns boolean
  boxscale(str, str) - returns string
  callnpc(int, params...)
  callweapon(int, params...)
  castray(str, str, str) - returns object - specify the start and end of the ray, and the object types (e.g. "staticts,terrain,interior")
  checksum(str) - returns float
  contains(str, str) - returns boolean
  copystrings(str, str)
  cursoroff()
  cursoron()
  degtorad(float) - returns float
  detachplayer()
  disabledefmovement()
  disablemap()
  disablepause()
  disableselectweapons()
  disableweapons()
  echo(str)
  enabledefmovement()
  enablefeatures(int)
  enablemap()
  enablepause()
  enableselectweapons()
  enableweapons()
  escapestring(str) - returns string - adds \\ in front of ", ' and \\, and removes non-printable characters
  explodebomb(int)
  extractfilebase(str) - returns string
  extractfileext(str) - returns string
  extractfilename(str) - returns string
  extractfilepath(str) - returns string
  fileexists(str) - returns boolean
  filesize(str) - returns integer
  fileupdate(str) - returns boolean
  findani(str) - returns object
  findfiles(str, int) - returns object
  findlevel(str) - returns object
  findnearestplayer(float, float) - returns object
  findnearestplayers(float, float) - returns object
  findnpcbyid(int) - returns object
  findpathinarray(obj, obj, obj, obj, obj, int, int, int) - returns object - simple pathfinding: parameters are a two-dimensional array ('tiles'), tiles were we are allowed to walk, tiles where we are not allowed to walk, tiles where we may stop, tiles where we should not stop, start x and y, maximum path length; the arrays for allowed/non-allowed tiles are only checked if they are not null
  findplayer(str) - returns object
  findplayerbycommunityname(str) - returns object
  findplayerbyid(int) - returns object
  findweapon(str) - returns object
  format2(str, obj) - returns string - like format(), except that this expects the format string and an array of variables instead of passing the variables as separate parameters
  freefileresources(str)
  freezeplayer(float)
  get3dobjectat(float, float, bool) - returns object - gets the 3d object at the specified screen position, third parameter says if it should do box collision
  get3dobjectatmouse(bool) - returns object - gets the 3d object at the mouse, specify if it should do box collision (true)
  get3dobjectbyray(str, str) - returns object
  get3dobjectsbybox(str, str) - returns object - specify the box {minx,miny,minz,maxx,maxy,maxz} and the object types to find (e.g. "staticts,terrain,interior")
  get3dobjectsbyradius(str, float, str) - returns object - specify the position, radius and the object types to find (e.g. "staticts,terrain,interior")
  get3dscreenposition(str, bool) - returns string
  getanglesfromvector(str) - returns object
  getascii(str) - returns integer
  getbasepackage() - returns object
  getboxcenter(str) - returns string
  getdesktopresolution() - returns string
  getdisplaydevicelist() - returns string
  getdownloadedupdatepackagesize() - returns integer
  getdownloadingpackage() - returns object
  getdownloadingpackagescount() - returns integer
  getdropz(str) - returns float
  getextension(str) - returns string - same as extractFileExt()
  getfilemodtime(str) - returns integer - gets the file modifcation time (in unix time compatible to timevar2); accepts both exact file path and plain file name
  gethttprequest(str, int, str) - returns object
  getimgheight(str) - returns integer
  getimgpixel(str, int, int) - returns object
  getimgwidth(str) - returns integer
  getkeycode(str) - returns integer
  getloginaccountname() - returns string
  getmapx(str) - returns integer
  getmapy(str) - returns integer
  getmusicfilename() - returns string - returns the currently played music
  getmusicstatus() - returns string
  getmusictags() - returns object
  getnearestplayer(float, float) - returns integer
  getnearestplayers(float, float) - returns object
  getpackagesdownloadcomplete() - returns boolean
  getpackagesdownloaded() - returns boolean
  getplatform() - returns string
  getresolutionlist(str) - returns string
  getservername() - returns string
  getstringkeys(str) - returns object
  getterraintexture(float, float) - returns string
  getterraintextureindex(float, float) - returns integer
  gettextheight(float, str, str) - returns integer
  gettextwidth(float, str, str, str) - returns integer
  gettileset() - returns string - returns the current main tileset (pics1.png, picso.png etc.)
  gettilesettype() - returns integer - returns the current tileset type (pics1.png:0, picso.png:5 etc.)
  gettotalupdatepackagesize() - returns integer
  getupdatepackage(str) - returns object
  getvectorfromangles(float, float) - returns string
  getz(float, float) - returns float
  graalcontrolhasfocus(bool) - returns boolean - parameter says if it should also check if the chat bar has the focus
  hideplayer(float)
  hidesword(float)
  hitnpc(int, float, float, float)
  hitobjects(float, float, float)
  hitplayer(int, float, float, float)
  isadminguild(str) - returns boolean
  isclassloaded(str) - returns boolean
  iscursoron() - returns boolean
  isdevicefullscreenonly(str) - returns boolean
  isdownloading(str) - returns boolean - checks if a file is currently downloaded or requested from the server
  isdownloadingfiles() - returns boolean - checks if Graal is currently downloading or requesting files from the server
  isfullscreenmode() - returns boolean
  isimgpixeltransparent(str, int, int) - returns boolean
  isimgrectangletransparent(str, int, int, int, int) - returns boolean
  ismusicplaying() - returns boolean
  isobject(str) - returns boolean
  issoundplaying(str) - returns boolean
  keydown(int) - returns boolean
  keydown2(int, bool) - returns boolean
  keydown2global(int, bool) - returns boolean
  keydownglobal(int) - returns boolean
  keyname(int) - returns string
  lay2(str, float, float)
  lightscene() - returns boolean
  loadclass(str)
  loadmap(str)
  loadtranslation(str)
  lowercase(str) - returns string
  ltmfs(bool)
  ltmmax(float, float)
  ltmmin(float, float)
  makescreenshot2(str, int, float, float, float, int, int)
  matrixcreate(str, str) - returns string
  matrixcreatefromeuler(str) - returns string
  matrixmulpoint(str, str) - returns string
  matrixmultiply(str, str) - returns string
  matrixmulvector(str, str) - returns string
  md5(str) - returns string
  noplayerkilling()
  onwall(float, float) - returns boolean
  onwall2(float, float, float, float) - returns boolean
  onwater(float, float) - returns boolean
  onwater2(float, float, float, float) - returns boolean
  opengraalurl(str)
  openurl(str)
  openurl2(str, int, int)
  play(str)
  play2(str, float, float, float)
  play3d(str, bool, str, str)
  playlooped(str)
  playlooped2(str, float, float, float)
  popdialog()
  pushdialog(obj)
  putleaps(int, float, float)
  radtodeg(float) - returns float
  randomstring(str) - returns string
  removetiledefs(str)
  replaceani(str, str)
  requestfiledeletion(str)
  requestfilerename(str, str)
  requestfilesmove(str, str)
  requesthttp(str, int, str) - returns object
  requesttext(str, str)
  requesturl(str) - returns object
  resetfocus()
  rotationadd(str, str) - returns string
  rotationaddeuler(str, str) - returns string
  rotationfromeuler(str) - returns string
  rotationsub(str, str) - returns string
  rotationtoeuler(str) - returns string
  rungarbagecollector()
  savelog(str)
  say(int)
  say2(str)
  screenx(float, float) - returns integer
  screeny(float, float) - returns integer
  selectfilefordownload(str) - opens the select-file-dialog for the download location of files (from scripted RC)
  selectfileforupload() - opens the select-file-dialog for uploading of files (into scripted RC)
  sendrpgmessage(str)
  sendtext(str, str, params...)
  sendtorc(str)
  serverwarp(str)
  setani(str, str)
  setbeltcolor(str)
  setcoatcolor(str)
  setcontentcontrol(obj)
  setcursor2(str)
  seteffect(float, float, float, float)
  setfocus(float, float)
  setfogcolors(obj)
  setgender(str)
  sethead(str)
  setinteriorrendermode(int)
  setletters(str)
  setmap(str, str, float, float) - sets a text map (you can see the tiles of other levels but not the npcs), parameters are text file with level names, the map image (not used anymore), default x and y for the head icons; use gmaps if possible instead of this
  setminimap(str, str, float, float) - parameters are a text file with level names, the image, default x and y; use gmaps if possible instead of this
  setmusicvolume(float, float)
  setplayerdir(str)
  setshield(str, int)
  setshoecolor(str)
  setshootparams(str)
  setskincolor(str)
  setskybandcolors(obj)
  setskybandsizes(obj)
  setsleevecolor(str)
  setspritesimage(str)
  setstatusimage(str)
  setsuncolors(obj)
  setsword(str, int)
  setterrainrendermode(int)
  showstats(int)
  spyfire(int, int)
  startrecordvideo() - returns boolean
  stopmidi() - same as stopmusic(), kept for compatibility
  stopmusic()
  stoprecordvideo() - returns boolean
  stopsound(str)
  strcmp(str, str) - returns integer
  strequals(str, str) - returns boolean
  switchtoopengl()
  synctimeofday(float, float)
  takeplayercarry()
  takeplayerhorse()
  testplayer(float, float) - returns integer
  trace(str) - same as echo()
  triggeraction(float, float, str, params...)
  triggerserver(str, str)
  update3dterrain(float, float, float, float)
  updateboard(int, int, int, int)
  updateterrain()
  updatevisibledistance()
  uploadfile(str) - uploads a file, you must provide the full path provided by a onDropFiles() event, also this will only work if the scripted RC has currently a file browser window open; once the file is uploaded an onFilesUploaded event will be invoked
  uppercase(str) - returns string
  vectoradd(str, str) - returns string
  vectorcross(str, str) - returns string
  vectordist(str, str) - returns float
  vectordot(str, str) - returns float
  vectorlen(str) - returns float
  vectornormalize(str) - returns string
  vectororthobasis(str) - returns string
  vectorscale(str, float) - returns string
  vectorsub(str, str) - returns string
  worldx(float, float) - returns float
  worldy(float, float) - returns float
  wraptext(int, str, str) - returns object
  wraptext2(int, float, str, str) - returns object

TGraalVar:
  initialized - boolean (read only)
  ispaused - boolean - suspends the script if set to paused
  joinedclasses - object
  maxlooplimit - integer - sets the maxmimum number of loop iterations, default 10000; the allowed range for this can vary from server to server
  name - string
  scripterrors - object (read only) - gives the list of script errors which were reported for this object
  scriptlogmissingfunctions - boolean
  timeout - float
  addarray(obj) - adds another array to this variable
  addarraymember(str) - returns object - adds an array member with a name and returns the new array member
  addnamedstring(str, str) - returns object
  cancelevents(str) - removes all previously scheduled events (scheduleevent) of the specified event name
  catchevent(str, str, str) - adds an event handler for the specified object and event, third parameter is the function which receives the event (first parameter of the event will be the object for which the event occured)
  clearemptyvars() - removes empty subvariables from memory
  clearvars() - clears all dynamic variables
  copyfrom(obj) - copies all variables and array values from another object, doesn't work for protected variables like players though
  getarraymember(str) - returns object - searches for an array member by name
  getdynamicvarnames() - returns object - gets the names of all dynamic (not built-in) subvariables of this object
  geteditvarnames() - returns object - gets the names of all dynamic variables which can be modified
  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")
  getstaticvarnames() - returns object - gets the names of all static (built-in) subvariables of this object
  getvarnames() - returns object - gets the names of all subvariables of this object
  hasfunction(str) - returns boolean - checks if the object has a function of the specified name (also checks if it can be called by the current script object)
  ignoreevent(str, str) - lets the object ignore an event (second parameter) of the specified object name
  ignoreevents(str) - lets the object ignore all previously catched events of the specified object name
  insertarray(int, obj) - inserts an array at the specified index
  isinclass(str) - returns boolean - checks if the object has joined the specified class
  join(str) - lets the object join a class and inherit all functions and event handlers of that class
  leave(str) - leaves a previously joined class
  loadfolder(str, int) - loads the content of a folder into the variable, you must specify the folder name and pattern (e.g. "levels/bodies/*.png") and if it should be recursive
  loadini(str) - loads an .ini file into the variable, you can access variables by obj.inisection.varname
  loadlines(str) - loads a file and adds it line by line to the variable (as array)
  loadstring(str) - loads the content of a file into the variable
  loadvars(str) - loads the variables from a file where each line has the format varname=value
  loadvarsfromarray(obj) - loads the variables from a string list of the format varname=value
  loadxml(str)
  loadxmlfromstring(str)
  objecttype() - returns string - returns the object type, which can be TGraalVar, TProjectile etc.
  savelines(str, int) - saves the array line by line into a file, the second parameter is the save mode (0 - overwrite, 1 - append)
  savestring(str, int) - saves the value as string into a file, the second parameter is the save mode (0 - overwrite, 1 - append)
  savevars(str, int) - saves the subvars in the format varname=value into a file, the second parameter is the save mode (0 - overwrite, 1 - append)
  savevarstoarray(bool) - returns object - saves the subvars in the format varname=value into an array, you must specify if it should be sorted
  savexml(str, int)
  savexmltostring() - returns string
  scheduleevent(float, str, params...) - returns object - invokes an event (onEventname) after the specified delay (in seconds), second parameter is the event name, followed by the parameters
  settimer(float) - invokes an onTimeout event after the specified time, similar to 'timeout=value'
  sortascending() - sorts the array in ascending order (smallest value first)
  sortbyvalue(str, str, bool) - sorts an array, specify the variable of the array members which is compared, also the variable type and if it should be sorted ascending; variable type can be "string", otherwise it is sorted by floating point value
  sortdescending() - sorts the array in descending order (highest value first)
  subarray2(int, int, int, int) - returns object - extracts a two-dimensional array, specify startpos1, length1, startpos2, length2
  timershow() - lets an npc show the current timeout variable, deprecated
  trigger(str, params...) - invokes an event on the object (onEventname) with the specified event name and parameters, doesn't interrupt the current script

  ActionMap (TGraalVar):
    bind(str, str, str)
    getbinding(str) - returns string
    getcommand(str, str) - returns string
    load() - returns boolean
    pop()
    push()
    save()
    unbind(str, str)

  DTSAniThread (TGraalVar):
    aniindex - integer (read only)
    atend - boolean (read only)
    attack - boolean
    endpos - float
    hold - boolean
    position - float
    sequence - string
    startpos - float
    state - string
    timescale - float
    transtitiontime - float
    isintransition() - returns boolean
    play()

  GameMovementInterpolate (TGraalVar):
    rigid - object (read only)
    applyimpulse(str, str)

    GameMovementRigid (GameMovementInterpolate):
      addrigidmove(str, str) - adds torque and force vector

  GameMovementList (TGraalVar):
    finishmoves()
    move3d(str, float, int)

  GameShape (TGraalVar):
    pixelshader - string
    vertexshader - string

    GameShapeDIF (GameShape):
      activatelight(str)
      deactivatelight(str)

    GameShapeDTS (GameShape):
      materiallist - object (read only)
      materials - object (read only)
      forceanimations() - starts to animate the object to make sure the animations are the wished start position
      getanimation(int) - returns object
      listnodes() - returns object
      pauseanimation(int)
      playanimation(int, str, int) - returns object - specify animation slot, animation name and flags (1 - hold, 2 - atend, 4 - attackanimation)
      playanimation2(int, str, int, float, float, float, float) - returns object - specify animation slot, animation name, flags, startpos, endpos, timescale, transitiontime
      stopanimation(int)

    GameShapeFT (GameShape):
      levels - integer
      seed - integer

  GuiControl (TGraalVar):
    acceptdropfiles - boolean
    active - boolean
    alpha - float
    awake - boolean (read only)
    blue - float
    canmove - boolean
    canresize - boolean
    clientextent - string
    clientheight - integer
    clientwidth - integer
    clipmove - boolean - when the user moves the control (see canMove) then this makes sure that the control is not moving outside the parents bounds, by default true
    color - string
    editing - boolean
    extent - string - width and height of the control
    flickerbasetime - float - if you want to let controls flicker at different time but with the same frequency, then set this to some random value (e.g. random(0,1))
    flickering - boolean - lets the control automatically show and hide itself in flickertime intervals
    flickertime - float - says in what interval the control is shown and hidden, in seconds; works only in combination with flickering=true
    green - float
    height - integer
    hint - string - text which is displayed when the user moves the mouse over the control
    hinttime - float - says after how much time of not moving the mouse the hint should appear
    horizsizing - string - specifies the horizontal resizing behaviour when the parent control is resized: right, width, left, center or relative
    layer - integer (read only)
    minextent - string - minimum width and height for the control which should be enforced
    minsize - string - the same like "minExtent"
    mode - integer - the control drawing mode (0 - add, 1 - transparent, 2 - subtract, 3 - daynight)
    parent - object (read only)
    position - string
    profile - object
    red - float
    resizeheight - boolean
    resizewidth - boolean
    scrolllinex - integer - if this is the first control inside a GuiScrollCtrl, then this defines by how many pixel the scroll control is scrolled horizontally when clicking on the left/right scroll bar buttons
    scrollliney - integer - if this is the first control inside a GuiScrollCtrl, then this defines by how many pixel the scroll control is scrolled vertically when clicking on the up/down scroll bar buttons
    showhint - boolean - whether the hint should be shown when the user moves the mouse over the control
    style - string
    useownprofile - boolean
    vertsizing - string - specifies the vertical resizing behaviour when the parent control is resized: bottom, height, top, center or relative
    visible - boolean
    width - integer
    x - integer
    y - integer
    addcontrol(obj)
    bringtofront()
    clearcontrols()
    destroy()
    getparent() - returns object
    globaltolocalcoord(str) - returns string - converts global screen coordinates to a position relative to the controls origin (0,0), can be used to know where exactly the user has clicked inside a control
    hide()
    isactuallyvisible() - returns boolean
    isfirstresponder() - returns boolean
    localtoglobalcoord(str) - returns string - converts a position relative to the controls origin (0,0) to global screen coordinates, can be used to know where on the screen a control is displayed in case it is a child of another control (e.g. GuiWindowCtrl or GuiScrollCtrl)
    makefirstresponder(bool)
    pushtoback()
    resize(int, int, int, int)
    show()
    showtop() - calls show(), tabfirst() and bringtofront()
    startdrag()
    tabfirst() - returns object

    EditManager (GuiControl):

    GuiArrayCtrl (GuiControl):
      allowmultipleselections - boolean

      GuiTextListCtrl (GuiArrayCtrl):
        clipcolumntext - boolean
        columns - string - of format "0 16", offset of the tabulators
        enumerate - boolean
        fitparentwidth - boolean
        groupsortorder - string
        iconheight - integer (read only)
        iconwidth - integer (read only)
        resizecell - boolean
        selected - object (read only)
        sortcolumn - integer
        sortmode - string
        sortorder - string
        addrow(int, str) - returns object - the added row
        clearrows()
        clearselection()
        findtext(str) - returns integer - row index
        findtextid(str) - returns integer - row id
        getrowatpoint(int, int) - returns integer - row index
        getrowidatpoint(int, int) - returns integer - row id
        getrownumbyid(int) - returns integer
        getselectedid() - returns integer - row id
        getselectedids() - returns object - array of row ids
        getselectedrow() - returns integer - row index
        getselectedrows() - returns object - array of row indices
        getselectedtext() - returns string
        insertrow(int, int, str) - returns object - the inserted row
        isidselected(int) - returns boolean
        isrowselected(int) - returns boolean
        makevisible(int)
        makevisiblebyid(int)
        removerow(int)
        removerowbyid(int)
        rowcount() - returns integer
        seticonsize(int, int)
        setrowactivebyid(int, bool)
        setrowbyid(int, str)
        setselectedbyid(int)
        setselectedbytext(str)
        setselectedrow(int)
        sort()

      GuiTreeViewCtrl (GuiArrayCtrl):
        boxwidth - integer
        clipcolumntext - boolean
        columns - string - of format "0 16", offset of the tabulators
        expanded - boolean
        expandedimage - integer
        expandedselectedimage - integer
        expandondoubleclick - boolean
        extent - string (read only)
        firstlinevisible - boolean
        fitparentwidth - boolean
        groupsortorder - string
        height - integer (read only)
        hint - string
        image - integer
        level - integer (read only)
        name - string - same as 'text'
        nodes - object (read only)
        parent - object (read only)
        position - string (read only)
        profile - object
        selectedimage - integer
        sortgroup - integer
        sortmode - string
        sortorder - string
        sortvalue - integer
        statuswidth - integer
        text - string
        useownprofile - boolean
        visible - boolean
        width - integer (read only)
        x - integer (read only)
        y - integer (read only)
        addlines(obj, bool)
        addnode(str) - returns object
        addnodebypath(str, str) - returns object
        addvars(obj, bool)
        clearnodes()
        clearrows() - same as clearNodes()
        destroy()
        getfullname(str) - returns string
        getnode(str) - returns object
        getnodeat(int, int) - returns object
        getnodebypath(str, str) - returns object
        getselectednode() - returns object
        select()
        seticonsize(int, int)
        sort()

    GuiBitmapBorderCtrl (GuiControl):
      tile - boolean

    GuiBitmapButtonCtrl (GuiControl):
      mouseoverbitmap - string
      normalbitmap - string
      pressedbitmap - string
      text - string
      setbitmap(str, int)

    GuiBitmapCtrl (GuiControl):
      bitmap - string
      tile - boolean - specifies if the bitmap should be repeated (true) or stretched (false)
      wrap - boolean - same as 'tile', kept for compatibility
      setbitmap(str)
      setvalue(int, int) - sets the offset of the image (horizontal and vertical)

      GuiMapOverviewCtrl (GuiBitmapCtrl):
        mapalpha - float
        pointsize - float

    GuiBrowserCtrl (GuiControl):
      url - string

    GuiButtonBaseCtrl (GuiControl):
      buttontype - string
      checked - boolean
      groupnum - integer
      text - string
      gettext() - returns string
      performclick()
      settext(str)

      GuiButtonCtrl (GuiButtonBaseCtrl):
        stylesection - string
        seticonsize(int, int)

      GuiCheckBoxCtrl (GuiButtonBaseCtrl):

        GuiRadioCtrl (GuiCheckBoxCtrl):

    GuiContextMenuCtrl (GuiControl):
      clipcolumntext - boolean
      columns - string - of format "0 16", offset of the tabulators
      enumerate - boolean
      fitparentwidth - boolean
      groupsortorder - string
      iconheight - integer (read only)
      iconwidth - integer (read only)
      maxpopupheight - integer
      profile - object
      resizecell - boolean
      rows - object (read only)
      scrollprofile - object
      selected - object (read only)
      sortcolumn - integer
      sortmode - string
      sortorder - string
      textprofile - object
      width - integer
      addrow(int, str) - returns object - the added row
      clearrows()
      clearselection()
      close()
      findtext(str) - returns integer - row index
      findtextid(str) - returns integer - row id
      getrowatpoint(int, int) - returns integer - row index
      getrowidatpoint(int, int) - returns integer - row id
      getrownumbyid(int) - returns integer
      getselectedid() - returns integer - row id
      getselectedids() - returns object - array of row ids
      getselectedrow() - returns integer - row index
      getselectedrows() - returns object - array of row indices
      getselectedtext() - returns string
      insertrow(int, int, str) - returns object - the inserted row
      isidselected(int) - returns boolean
      isopen() - returns boolean
      isrowselected(int) - returns boolean
      makevisible(int)
      makevisiblebyid(int)
      open(int, int) - opens the menu at the specified screen position, if possible use openAtMouse() instead
      openatmouse()
      removerow(int)
      removerowbyid(int)
      rowcount() - returns integer
      seticonsize(int, int)
      setrowactivebyid(int, bool)
      setrowbyid(int, str)
      setselectedbyid(int)
      setselectedbytext(str)
      setselectedrow(int)
      sort()

      GuiStartMenuCtrl (GuiContextMenuCtrl):
        text - string
        width - integer
        gettext() - returns string
        settext(str)

    GuiDrawingPanel (GuiControl):
      parth - integer (read only)
      partw - integer (read only)
      partx - integer (read only)
      party - integer (read only)
      clearall()
      clearrectangle(int, int, int, int)
      drawimage(int, int, str)
      drawimagerectangle(int, int, str, int, int, int, int)
      drawimagestretched(int, int, int, int, str, int, int, int, int)
      saveimage(str)

    GuiFlash (GuiControl):
      backgroundalpha - float
      downloadwebfiles - boolean
      hideonoverlap - boolean
      loopmovie - boolean
      messageonoverlap - string
      moviename - string
      requiresactivex - boolean - same as requiresplugin
      requiresplugin - boolean - only displays the flash file if the flash plugin or activex control could be loaded
      tryactivex - boolean - same as tryplugin
      tryplugin - boolean - tries to load the flash plugin or activex control to display the flash file
      getflashvariable(str) - returns string
      loadmovie(str, bool, float)
      playmovie()
      restartmovie()
      setbackgroundalpha(float)
      setflashvariable(str, str)
      setlooping(bool)
      stopmovie()

    GuiFrameSetCtrl (GuiControl):
      autobalance - boolean
      bordercolor - string
      borderenable - string
      bordermovable - string
      borderwidth - integer
      columncount - integer
      fudgefactor - integer
      minextent - string
      rowcount - integer
      getcolumncount() - returns integer
      getcolumnoffset(int) - returns integer
      getrowcount() - returns integer
      getrowoffset(int) - returns integer
      setcolumncount(int)
      setcolumnoffset(int, int)
      setrowcount(int)
      setrowoffset(int, int)

    GuiGraal3DCtrl (GuiControl):

    GuiGraalCtrl (GuiControl):

    GuiInputCtrl (GuiControl):

    GuiMenuCtrl (GuiControl):
      iconheight - integer (read only)
      iconwidth - integer (read only)
      addmenu(str) - returns object
      clearmenus()
      findmenu(str) - returns object
      removemenu(str)
      seticonsize(int, int)

    GuiMLTextCtrl (GuiControl):
      allowcolorchars - boolean
      allowedtags - string
      alpha - float
      deniedsound - string
      disallowedtags - string
      htmlcompatibility - boolean
      htmllinks - boolean - will automatically open a webbrowser when clicking on a link if you don't want to do it yourself by handling onURL() events via script
      maxchars - integer
      parsetags - boolean
      syntaxhighlighting - boolean
      text - string
      urlbase - string
      wordwrap - boolean
      addtext(str, bool)
      getcursorline() - returns integer
      getline(int) - returns string
      getlinecount() - returns integer
      getlines() - returns object - array of lines
      gettext() - returns string
      reflow()
      scrolltobottom()
      scrolltotag(str)
      scrolltotop()
      setlines(obj)
      settext(str)

      GuiMLTextEditCtrl (GuiMLTextCtrl):
        autoindenting - boolean - when pressing the return key, then it's automatically inserting the same number of spaces in front of the new line as in the previous line
        tabspaces - integer - when the user presses the tab key then this number of spaces are inserted, by default the tab key is ignored

        GuiPMEditCtrl (GuiMLTextEditCtrl):
          clear()
          sendmasspm(obj)
          sendpm(obj)

      GuiPMCtrl (GuiMLTextCtrl):
        addpm(obj) - adds the received pm from the specified player to the text of this control
        clear()
        showpm(obj) - replaces the text with the received pm from this player

      GuiPMHistoryCtrl (GuiMLTextCtrl):
        showhistory(obj)

    GuiPlayerView (GuiControl):
      ambientcolor - string
      cameraz - float
      lightcolor - string
      lightdirection - string
      modelrotx - float
      modelrotz - float
      shape - string
      shapeobject - object (read only)

    GuiProgressCtrl (GuiControl):
      progress - float

    GuiScrollCtrl (GuiControl):
      childmargin - string
      constantthumbheight - boolean
      hscrollbar - string
      scrollpos - string
      tile - boolean
      vscrollbar - string
      wheelscrolllines - integer
      willfirstrespond - boolean
      scrolldelta(int, int)
      scrollrectvisible(int, int, int, int)
      scrollto(int, int)
      scrolltobottom() - scrolls to the button, simply calls scrollto(0, 0x7fffffff)
      scrolltotop() - scrolls to the top, simply calls scrollto(0, 0)

    GuiShapeNameHud (GuiControl):
      alignbottom - boolean
      chatprofile - string
      damagealignbottom - boolean
      damageoffset - string
      damagetimeout - float
      distancefade - float
      fillcolor - string
      framecolor - string
      maxdistance - float
      showfill - boolean
      showframe - boolean
      useshapesize - boolean
      verticaldamageoffset - float
      verticaloffset - float

    GuiShowImgCtrl (GuiControl):
      alpha - float
      ani - string
      ani - string
      attachnode - string
      attachoffset - string
      attachtoowner - boolean
      blue - float
      code - string - the old representation as 'font@style@text'
      dimension - integer
      dir - integer
      dir - integer
      emitter - object (read only)
      eulerrotation - string
      flashfile - string
      font - string
      green - float
      image - string
      imageindex - integer (read only)
      is3dlight - boolean
      layer - integer
      layer - integer
      mode - integer - the image drawing mode (0 - add, 1 - transparent, 2 - subtract, 3 - daynight)
      offsetx - integer
      offsety - integer
      playerlook - boolean - if the animation should take it's head, body, sword, shield and attr[] from the owner (playerlook), set this to false if you want to set the images yourself by changing showimg.actor.head etc.
      polygon - object
      position - string
      red - float
      rotation - float
      shape - string
      shapeobject - object (read only)
      spin - float
      stretchx - float
      stretchy - float
      style - string
      text - string
      x - float
      y - float
      z - float
      zoom - float

    GuiSliderCtrl (GuiControl):
      range - string
      ticks - integer
      value - float

    GuiStretchCtrl (GuiControl):
      clientextent - integer
      clientheight - integer
      clientwidth - integer

    GuiTabCtrl (GuiControl):
      iconheight - integer (read only)
      iconwidth - integer (read only)
      leveling - integer
      maxvisibletabs - integer (read only)
      overlapwidth - integer
      selected - object (read only)
      tabwidth - integer
      addrow(int, str) - returns object - the added row
      clearrows()
      clearselection()
      findtext(str) - returns integer - row index
      findtextid(str) - returns integer - row id
      getrowatpoint(int, int) - returns integer - row index
      getrowidatpoint(int, int) - returns integer - row id
      getrownumbyid(int) - returns integer
      getselectedid() - returns integer - row id
      getselectedrow() - returns integer - row index
      getselectedtext() - returns string
      insertrow(int, int, str) - returns object - the inserted row
      isidselected(int) - returns boolean
      isrowselected(int) - returns boolean
      makevisible(int)
      makevisiblebyid(int)
      removerow(int)
      removerowbyid(int)
      rowcount() - returns integer
      seticonsize(int, int)
      setselectedbyid(int)
      setselectedrow(int)

    GuiTaskbar (GuiControl):

    GuiTextCtrl (GuiControl):
      text - string
      gettext() - returns string
      settext(str)

      GuiPopUpEditCtrl (GuiTextCtrl):
        clipcolumntext - boolean
        columns - string - of format "0 16", offset of the tabulators
        enumerate - boolean
        fitparentwidth - boolean
        groupsortorder - string
        iconheight - integer (read only)
        iconwidth - integer (read only)
        maxpopupheight - integer
        maxpopupheight - integer
        profile - object
        resizecell - boolean
        rows - object (read only)
        scrollprofile - object
        selected - object (read only)
        sortcolumn - integer
        sortmode - string
        sortorder - string
        textprofile - object
        width - integer
        addrow(int, str) - returns object - the added row
        addtext(str, int) - deprecated, use addRow() instead
        clearrows()
        clearselection()
        close()
        findtext(str) - returns integer
        findtext(str) - returns integer - row index
        findtextid(str) - returns integer - row id
        forceclose()
        forceonaction()
        getrowatpoint(int, int) - returns integer - row index
        getrowidatpoint(int, int) - returns integer - row id
        getrownumbyid(int) - returns integer
        getselected() - returns integer
        getselectedid() - returns integer - row id
        getselectedids() - returns object - array of row ids
        getselectedrow() - returns integer - row index
        getselectedrows() - returns object - array of row indices
        getselectedtext() - returns string
        insertrow(int, int, str) - returns object - the inserted row
        isidselected(int) - returns boolean
        isopen() - returns boolean
        isrowselected(int) - returns boolean
        makevisible(int)
        makevisiblebyid(int)
        open(int, int) - opens the menu at the specified screen position, if possible use openAtMouse() instead
        openatmouse()
        removerow(int)
        removerowbyid(int)
        rowcount() - returns integer
        rowcount() - returns integer
        seticonsize(int, int)
        setrowactivebyid(int, bool)
        setrowbyid(int, str)
        setselected(int)
        setselectedbyid(int)
        setselectedbytext(str)
        setselectedbytext(str)
        setselectedrow(int)
        sort()

      GuiPopUpMenuCtrl (GuiTextCtrl):
        clipcolumntext - boolean
        columns - string - of format "0 16", offset of the tabulators
        enumerate - boolean
        fitparentwidth - boolean
        groupsortorder - string
        iconheight - integer (read only)
        iconwidth - integer (read only)
        maxpopupheight - integer
        profile - object
        resizecell - boolean
        rows - object (read only)
        rows - object (read only)
        scrollprofile - object
        selected - object (read only)
        sortcolumn - integer
        sortmode - string
        sortorder - string
        textprofile - object
        width - integer
        addrow(int, str) - returns object - the added row
        addtext(str, int) - deprecated, use addRow() instead
        clearrows()
        clearselection()
        close()
        findtext(str) - returns integer
        findtext(str) - returns integer - row index
        findtextid(str) - returns integer - row id
        forceclose()
        forceonaction()
        getrowatpoint(int, int) - returns integer - row index
        getrowidatpoint(int, int) - returns integer - row id
        getrownumbyid(int) - returns integer
        getselected() - returns integer
        getselectedid() - returns integer - row id
        getselectedids() - returns object - array of row ids
        getselectedrow() - returns integer - row index
        getselectedrows() - returns object - array of row indices
        getselectedtext() - returns string
        insertrow(int, int, str) - returns object - the inserted row
        isidselected(int) - returns boolean
        isopen() - returns boolean
        isrowselected(int) - returns boolean
        makevisible(int)
        makevisiblebyid(int)
        open(int, int) - opens the menu at the specified screen position, if possible use openAtMouse() instead
        openatmouse()
        removerow(int)
        removerowbyid(int)
        rowcount() - returns integer
        rowcount() - returns integer
        seticonsize(int, int)
        setrowactivebyid(int, bool)
        setrowbyid(int, str)
        setselected(int)
        setselectedbyid(int)
        setselectedbytext(str)
        setselectedbytext(str)
        setselectedrow(int)
        sort()

      GuiTextEditCtrl (GuiTextCtrl):
        deniedsound - string
        historysize - integer
        password - boolean
        tabcomplete - boolean
        setselection(int, int)
        undo()

        GuiAccountPasswordCtrl (GuiTextEditCtrl):
          applypassword()
          clearpassword()
          isempty() - returns boolean
          setpasswordofaccount(str)

        GuiTextEditSliderCtrl (GuiTextEditCtrl):
          allowedit - string
          format - string
          increment - float
          range - string
          value - float

      GuiWindowCtrl (GuiTextCtrl):
        canclose - boolean
        canmaximize - boolean
        canminimize - boolean
        clientrelative - boolean - by default false; if enabled then sub-controls are positioned automatically to not overlap the header or the borders; use clientwidth and clientheight to get the available space for sub-controls
        closequery - boolean
        destroyonhide - boolean
        extent - string
        maximized - boolean
        minimized - boolean
        tile - boolean
        isactivewindow() - returns boolean

    TerrainEditor (GuiControl):
      adjustheightmousescale - float
      adjustheightval - float
      borderfillcolor - string
      borderframecolor - string
      borderheight - float
      borderlinemode - boolean
      brushpos - string
      enablesoftbrushes - boolean
      isdirty - boolean
      ismissiondirty - boolean
      materialgroup - integer
      paintmaterial - string
      processusesbrush - boolean
      renderborder - boolean
      rendervertexselection - boolean
      scaleval - float
      selectionhidden - boolean
      setheightval - float
      smoothfactor - float
      softselectdefaultfilter - string
      softselectfilter - string
      softselectradius - float
      attachterrain(str)
      buildmaterialmap()
      clearmodifiedflags()
      clearselection()
      getactionname(int) - returns string
      getbrushpos() - returns string
      getcurrentaction() - returns string
      getnumactions() - returns integer
      getnumtextures() - returns integer
      getterrainmaterials() - returns object
      gettexturename(int) - returns string
      markemptysquares()
      mirrorterrain(int)
      popbasematerialinfo()
      processaction(str)
      pushbasematerialinfo()
      redo()
      resetselweights(bool)
      setaction(str)
      setbrushpos(str)
      setbrushsize(int, int)
      setbrushtype(str)
      setlonebasematerial(str)
      setterrainmaterials(str)
      undo()

    WorldEditor (GuiControl):
      automaticsync - boolean
      axisgizmoactive - boolean
      axisgizmomaxscreenlen - integer
      boundingboxcollision - boolean
      defaulthandle - string
      dragrectcolor - string
      droptype - string
      faceselectcolor - string
      gridcolor - string
      gridsize - string
      isdirty - boolean
      lockedhandle - string
      maxscalefactor - float
      minscalefactor - float
      mousemovescale - float
      mouserotatescale - float
      mousescalescale - float
      namedistancefade - float
      namemaxdistance - float
      objectsuseboxcenter - boolean
      objecttextcolor - string
      objmouseovercolor - string
      objmouseoverselectcolor - string
      objselectcolor - string
      objtextformat - string
      planarmovement - boolean
      planedim - float
      popupbackgroundcolor - string
      popuptextcolor - string
      projectdistance - float
      rendernav - boolean
      renderobjhandle - boolean
      renderobjtext - boolean
      renderplane - boolean
      renderplanehashes - boolean
      renderpopupbackground - boolean
      renderselectionbox - boolean
      rotationsnap - float
      selecthandle - string
      selectionboxcolor - string
      selectionlocked - boolean
      showmousepopupinfo - boolean
      snaprotations - boolean
      snaptogrid - boolean
      toggleignorelist - boolean
      undolimit - integer
      addundostate()
      clearignorelist()
      clearselection()
      deleteselection()
      dropselection()
      getmode() - returns string
      getselectedobject(int) - returns object
      getselectioncentroid() - returns string
      getselectionsize() - returns integer
      hideselection(bool)
      ignoreobjclass(str)
      lightselection()
      lockselection(bool)
      redo()
      reloadselection()
      selectobject(obj)
      setmode(str)
      syncselection()
      undo()
      unselectobject(obj)

  GuiControlProfile (TGraalVar):
    align - string
    autosizeheight - boolean
    autosizewidth - boolean
    backgroundinset - string
    bitmap - string
    border - integer
    bordercolor - string
    bordercolorhl - string
    bordercolorna - string
    borderthickness - integer
    cankeyfocus - boolean
    cursorcolor - string
    fillcolor - string
    fillcolorhl - string
    fillcolorna - string
    fillonlynonchildarea - boolean - when opaque is true, then fill only the part of the control that is not covered by child controls
    focusonshow - boolean
    fontcolor - string
    fontcolorhl - string
    fontcolorlink - string
    fontcolorlinkhl - string
    fontcolorna - string
    fontcolorsel - string
    fontsize - integer
    fontstyle - string
    fonttype - string
    justify - string - the same like "align"
    linespacing - integer
    modal - boolean
    mouseoverselected - boolean
    numbersonly - boolean
    opaque - boolean
    returntab - boolean
    shadowcolor - string
    shadowoffset - string
    soundbuttondown - string
    soundbuttonover - string
    tab - boolean
    textoffset - string
    textshadow - boolean
    transparency - float
    gettextheight() - returns integer
    gettextwidth(str) - returns integer

  GuiCursor (TGraalVar):

  GuiTabCtrlEntry (TGraalVar):
    hint - string
    id - integer
    text - string
    gettext() - returns string
    settext(str)

  GuiTextListEntry (TGraalVar):
    active - boolean
    extent - string (read only)
    flickering - boolean - lets the entry automatically show and hide itself in flickertime intervals
    flickertime - float - says in what interval the entry is shown and hidden, in seconds; works only in combination with flickering=true
    height - integer (read only)
    hint - string
    id - integer
    image - integer
    position - string (read only)
    profile - object
    selectedimage - integer
    sortgroup - integer
    sortvalue - integer
    text - string
    useownprofile - boolean
    width - integer (read only)
    x - integer (read only)
    y - integer (read only)
    gettext() - returns string
    settext(str)

  GuiTreeViewNode (TGraalVar):
    expanded - boolean
    expandedimage - integer
    expandedselectedimage - integer
    extent - string (read only)
    height - integer (read only)
    hint - string
    image - integer
    level - integer (read only)
    name - string - same as 'text'
    parent - object (read only)
    position - string (read only)
    profile - object
    selectedimage - integer
    sortgroup - integer
    sortvalue - integer
    text - string
    useownprofile - boolean
    visible - boolean
    width - integer (read only)
    x - integer (read only)
    y - integer (read only)
    addlines(obj, bool)
    addnode(str) - returns object
    addnodebypath(str, str) - returns object
    addvars(obj, bool)
    clearnodes()
    destroy()
    getfullname(str) - returns string
    getnode(str) - returns object
    getnodebypath(str, str) - returns object
    select()

  MovieClip (TGraalVar):
    _level0 - object (read only)
    _parent - object (read only)
    _root - object (read only)
    _visible - boolean
    _x - float
    _xmouse - float (read only)
    _y - float
    _ymouse - float (read only)
    alpha - float
    blue - float
    frame - integer
    framecount - integer (read only)
    green - float
    height - float (read only)
    layernames - object (read only)
    looping - boolean
    math - object (read only)
    objectname - string
    objectnames - object (read only)
    playing - boolean
    red - float
    width - float (read only)
    attachmovie(params...) - returns object - parameters are the movie clip to copy, the name of the new clip, and the layer
    createemptymovieclip(str, int) - returns object - parameters are the the name of the new clip and the layer
    duplicatemovieclip(params...) - returns object
    getbytesloaded() - returns integer
    getbytestotal() - returns integer
    getcolor() - returns string
    getdepth() - returns integer
    getlayer(str) - returns object
    getproperty(int) - returns string
    gotoandplay(params...) - specify the frame name or frame number
    gotoandstop(params...) - specify the frame name or frame number
    hittest(params...) - returns boolean
    nextframe()
    play()
    prevframe()
    removelayer(str)
    removemovieclip()
    setcolor(str)
    setproperty(int, str)
    stop()
    swapdepths(str)
    unloadmovie() - same as removeMovieClip()

  MRandomGenerator (TGraalVar):
    seed - integer
    destroy()
    randfloat() - returns float - a random floating point number between 0 and 1
    randint() - returns integer - a random integer number between 0 and 2147483647, use the modulus operator to generate a value in a smaller range (e.g. obj.randInt()%10 to get a value between 0 and 9)

    MRandomLCG (MRandomGenerator):

    MRandomR250 (MRandomGenerator):

  SimObject (TGraalVar):

    SceneObject (SimObject):
      eulerrotation - string
      forwardvector - string
      objectbox - string (read only)
      position - string
      renderposition - string
      rightvector - string
      rotation - string
      scale - string
      scaledobjectbox - string (read only)
      transform - string
      upvector - string
      worldbox - string (read only)
      worldboxcenter - string (read only)
      x - float
      y - float
      z - float
      getforwardvector() - returns string
      getobjectbox() - returns string
      getposition() - returns string
      getrightvector() - returns string
      getscale() - returns string
      gettransform() - returns string
      getupvector() - returns string
      getworldbox() - returns string
      getworldboxcenter() - returns string
      light()
      setforwardvector(str)
      setposition(str)
      setrightvector(str)
      setscale(str)
      settransform(str)
      setupvector(str)

      fxSunLight (SceneObject):
        animazimuth - boolean
        animbrightness - boolean
        animcolour - boolean
        animelevation - boolean
        animrotation - boolean
        animsize - boolean
        azimuthkeys - string
        azimuthtime - float
        blendmode - integer
        bluekeys - string
        brightness - float
        brightnesskeys - string
        brightnesstime - float
        colour - string
        colourtime - float
        elevationkeys - string
        elevationtime - float
        enable - boolean
        fadetime - float
        flaresize - float
        flaretp - boolean
        greenkeys - string
        lerpazimuth - boolean
        lerpbrightness - boolean
        lerpcolour - boolean
        lerpelevation - boolean
        lerprotation - boolean
        lerpsize - boolean
        linkflaresize - boolean
        localflarebitmap - string
        maxazimuth - float
        maxbrightness - float
        maxcolour - string
        maxelevation - float
        maxrotation - float
        maxsize - float
        minazimuth - float
        minbrightness - float
        mincolour - string
        minelevation - float
        minrotation - float
        minsize - float
        redkeys - string
        remoteflarebitmap - string
        rotationkeys - string
        rotationtime - float
        singlecolourkeys - boolean
        sizekeys - string
        sizetime - float
        sunazimuth - float
        sunelevation - float
        reset()

      GameObject (SceneObject):
        alpha - float
        attachedtoobject - object
        attrobjects - object (read only)
        chat - string
        collision - boolean
        iseditorobject - boolean
        liquidheight - float (read only)
        liquidtype - string (read only)
        movetype - string
        nick - string - same as nickname
        nickcolor - string
        nickname - string
        position - string
        scaledshapebox - string (read only)
        shadow - boolean
        shape - string
        shapebox - string (read only)
        showterrain - boolean
        skin - string
        solid - boolean
        transform - string
        velocity - string
        watercoverage - float (read only)
        checkcollision(str, str) - returns object
        checkcollisionbybox(str, str, str) - returns object
        clippolygons(str) - returns object
        findimg(int) - returns object
        getcontrollingclient() - returns object
        getcontrollingobject() - returns object
        getdropz(str) - returns float
        getinteriorobject() - returns object
        getmountedobject(int) - returns object
        getmountedobjectcount() - returns integer
        getmountedobjectnode(int) - returns integer
        getmountnodeobject(int) - returns object
        getmountposition(int) - returns string
        getmounttransform(int) - returns string
        getnodeposition(str) - returns string
        getnodetransform(str) - returns string
        getobjectmount() - returns object
        hideimg(int)
        hideimgs(int, int)
        isdrawn() - returns boolean
        isininterior() - returns boolean
        ismounted() - returns boolean
        mountobject(obj, int) - returns boolean
        setdirection(str)
        unmount()
        unmountobject(obj) - returns boolean

        Camera (GameObject):
          cameramode - string
          eulerrotation - string
          followattachedobject - object
          lookatposition - string
          lookvector - string
          updateposition()

        DynamicShapeReplicator (GameObject):
          aligntoterrain - boolean
          allowedterrainslope - integer
          allowoninteriors - boolean
          allowonstatics - boolean
          allowonterrain - boolean
          allowonwater - boolean
          allowwatersurface - boolean
          boxmax - string
          boxmin - string
          hidereplications - boolean
          maxgridobjects - integer
          mingridobjects - integer
          offsetz - float
          radius - integer
          seed - integer
          shapefiles - string
          shaperotatemax - string
          shaperotatemin - string
          shapescalemax - string
          shapescalemin - string
          surfaceexclusionmode - boolean
          surfacetype - integer
          terrainalignment - string

          DynamicGrass (DynamicShapeReplicator):

          DynamicGrassReplicator (DynamicShapeReplicator):

      Sky (SceneObject):
        cloudheight1 - float
        cloudheight2 - float
        cloudheight3 - float
        cloudspeed1 - float
        cloudspeed2 - float
        cloudspeed3 - float
        fogcolor - string
        fogstorm1 - boolean
        fogstorm2 - boolean
        fogstorm3 - boolean
        fogvolume1 - string
        fogvolume2 - string
        fogvolume3 - string
        fogvolumecolor1 - string
        fogvolumecolor2 - string
        fogvolumecolor3 - string
        materiallist - string
        norenderbans - boolean
        renderbottomtexture - boolean
        skyfadetime - float
        skysolidcolor - string
        useskytextures - boolean
        windeffectprecipitation - boolean
        windvelocity - string
        getwindowvelocity() - returns string
        realfog(bool, float, float, float) - specify if it should show, and max, min and speed values
        stormclouds(bool, float) - specify if it should show, and the duration
        stormcloudsshow(bool)
        stormfog(float, float) - percent and duration of the fog
        stormfogshow(bool)

      TerrainBlock (SceneObject):
        repeatterrain - boolean
        squaresize - integer
        terrainfile - string

      WaterBlock (SceneObject):
        density - float
        depthgradient - float
        distortgridscale - float
        distortmag - float
        distorttime - float
        envmapintensity - float
        envmapovertexture - string
        envmapundertexture - string
        flowangle - float
        flowrate - float
        ignoreterrain - boolean
        liquidtype - string
        maxalpha - float
        minalpha - float
        removewetedges - boolean
        shoredepth - float
        shoretexture - string
        specularcolor - string
        specularmasktex - string
        specularpower - float
        submergetexture0 - string
        submergetexture1 - string
        surfaceopacity - float
        surfaceparallax - float
        surfacetexture - string
        tessshore - float
        tesssurface - float
        usedepthmask - boolean
        viscosity - float
        wavemagnitude - float

    SimGroup (SimObject):
      addcontrol(obj)

      GameConnection (SimGroup):
        account - string (read only)
        camera - object (read only)
        communityname - string (read only)
        isobserver - boolean (read only)
        nick - string (read only)
        objecttype() - returns string
        showprofile()

    Sun (SimObject):
      ambient - string
      color - string
      direction - string

  TDrawableObject (TGraalVar):
    layer - integer (read only)

    TBaddy (TDrawableObject):
      dir - integer
      headdir - integer
      mode - integer
      power - integer
      type - integer
      x - float
      y - float

    TLevelObject (TDrawableObject):
      level - object (read only)
      x - float
      y - float
      z - float

      TExplosion (TLevelObject):
        dir - integer (read only)
        power - integer (read only)
        time - float (read only)

      TGaniObject (TLevelObject):
        alpha - float
        ani - object (read only)
        aniparams - string (read only)
        anistep - integer (read only)
        attachedtoobject - object (read only)
        attachid - integer (read only)
        attachtype - integer (read only)
        attr - object (read only)
        blue - float
        body - string
        bodyimg - string
        colors - object (read only)
        dir - integer
        gmap - object (read only)
        green - float
        head - string
        headimg - string
        mode - integer - the object drawing mode (0 - add, 1 - transparent, 2 - subtract, 3 - daynight)
        red - float
        rotation - float
        shield - string
        sprite - integer
        stretchx - float
        stretchy - float
        sword - string
        zoom - float
        getimageforsprite(obj) - returns string
        getsprite(str) - returns object
        getspriteforspritepos(obj) - returns object
        setcoloreffect(float, float, float, float)
        seteffectmode(int)

        TProjectile (TGaniObject):
          angle - float (read only)
          fromplayer - object (read only)
          horiz - boolean (read only)
          params - object (read only)
          speed - float (read only)
          x - float (read only)
          y - float (read only)
          z - float (read only)
          zspeed - float (read only)

        TServerHorse (TGaniObject):
          bombpower - integer
          bombs - integer
          bushes - integer
          dir - integer
          type - integer

        TServerPlayer (TGaniObject):
          account - string (read only)
          ap - integer
          attached - boolean (read only)
          attachedtoobject - object
          bombs - integer
          chat - string
          communityname - string (read only)
          darts - integer
          fullhearts - integer (read only)
          glovepower - integer
          gralats - integer
          guild - string (read only)
          headimg - string
          headset - integer
          hearts - float (read only)
          horseimg - string (read only)
          hp - float (read only)
          id - integer (read only)
          isadmin - boolean (read only)
          isbuddy - boolean
          ischannel - boolean (read only)
          ischannelopen - boolean (read only)
          ischanneluser - boolean (read only)
          isexternal - boolean (read only)
          isfemale - boolean (read only)
          isignored - boolean
          isignoring - boolean (read only)
          isloggedin - boolean (read only)
          ismale - boolean (read only)
          ismuted - boolean (read only)
          ismuting - boolean (read only)
          language - string (read only)
          languagedomain - string (read only)
          mapicon - object (read only) - of type TDrawingPanel, this is the icon that appears on the mini-map, usually updated by the playerlist script
          maxhp - integer (read only)
          messagebubble - integer (read only)
          mp - integer
          nick - string
          platform - string (read only)
          playersindex - integer (read only)
          rating - float (read only)
          ratingd - float (read only)
          rupees - integer - better use 'gralats'
          shieldimg - string - only there for compatibility with GS1, use just 'shield' instead
          shieldpower - integer (read only)
          swordimg - string - only there for compatibility with GS1, use just 'sword' instead
          swordpower - integer (read only)
          x - float
          y - float
          isguildpm() - returns boolean
          ismasspm() - returns boolean
          openexternalhistory() - returns boolean
          openexternalpm(bool) - returns boolean - as parameter specify 'true' if it should display the pm sent by the player, otherwise always open a blank PM window
          pmswaiting() - returns boolean
          showprofile()

          TPlayer (TServerPlayer):
            ap - integer
            chat - string
            freezetime - float
            hearts - float
            horseimg - string
            hp - float
            hurt - boolean (read only)
            hurtdx - float (read only)
            hurtdy - float (read only)
            hurted - boolean (read only)
            hurtpower - float (read only)
            isfemale - boolean (read only)
            ismale - boolean (read only)
            isobserver - boolean (read only)
            letters - string
            map - boolean (read only)
            nick - string (read only)
            onhorse - boolean (read only)
            online - boolean (read only)
            paused - boolean (read only)
            reading - boolean (read only)
            shieldimg - string - same as 'shield', except that changing this also updates the shieldpower
            sprite - integer
            swimming - boolean (read only)
            swordimg - string - same as 'sword', except that changing this also updates the swordpower
            weapon - object (read only)
            weapons - object (read only)

          TServerNPC (TServerPlayer):
            actionplayer - integer (read only)
            hearts - float
            height - float (read only)
            horseimg - string
            hp - float
            hurtdx - float
            hurtdy - float
            image - string
            isblocking - boolean
            isblockingprojectiles - boolean
            layer - integer
            npcsindex - integer (read only)
            peltwithblackstone - boolean (read only)
            peltwithbush - boolean (read only)
            peltwithnpc - boolean (read only)
            peltwithsign - boolean (read only)
            peltwithstone - boolean (read only)
            peltwithvase - boolean (read only)
            save - object (read only)
            shieldpower - integer
            sprite - integer
            swordpower - integer
            visible - boolean
            width - float (read only)
            x - float
            y - float
            blockagain()
            blockagainlocal()
            canbecarried()
            canbepulled()
            canbepushed()
            cannotbecarried()
            cannotbepulled()
            cannotbepushed()
            carryobject(str)
            changeimgcolors(int, float, float, float, float)
            changeimgmode(int, int)
            changeimgpart(int, int, int, int, int)
            changeimgvis(int, int)
            changeimgzoom(int, float)
            destroy()
            dontblock()
            dontblocklocal()
            drawaslight()
            drawoverplayer()
            drawunderplayer()
            findimg(int) - returns object
            hide()
            hideimg(int)
            hideimgs(int, int)
            hidelocal()
            hurt(int)
            lay(str)
            message(str)
            move(float, float, float, int)
            setbow(str)
            setcharani(str, str)
            setchargender(str)
            setimg(str)
            setimgpart(str, int, int, int, int)
            setshape(int, int, int)
            setshape2(int, int, obj)
            setzoomeffect(float)
            shootarrow(int)
            shootball()
            shootfireball(int)
            shootfireblast(int)
            shootnuke(int)
            show()
            showani(int, float, float, int, str) - returns object
            showani2(int, float, float, float, int, str) - returns object
            showcharacter()
            showimg(int, str, float, float) - returns object
            showimg2(int, str, float, float, float) - returns object
            showlocal()
            showpoly(int, obj) - returns object
            showpoly2(int, obj) - returns object
            showtext(int, float, float, str, str, str) - returns object
            showtext2(int, float, float, float, str, str, str) - returns object
            take(str)
            take2(int)
            takehorse(int)
            throwcarry()
            timereverywhere()

            TServerWeapon (TServerNPC):
              isweapon - boolean (read only)

      TServerBomb (TLevelObject):
        power - integer
        time - float

      TServerCarry (TLevelObject):

      TServerChest (TLevelObject):
        isopen - boolean (read only)
        item - string (read only)

      TServerExtra (TLevelObject):
        time - float (read only)
        type - integer (read only)

      TServerFlying (TLevelObject):
        dir - integer (read only)
        dx - float
        dy - float
        from - integer (read only)
        type - integer (read only)

      TServerLeap (TLevelObject):

      TServerSign (TLevelObject):
        text - string

      TShowImg (TLevelObject):
        alpha - float
        ani - string
        attachnode - string
        attachoffset - string
        attachtoowner - boolean
        blue - float
        code - string - the old representation as 'font@style@text'
        dimension - integer
        dir - integer
        emitter - object (read only)
        eulerrotation - string
        flashfile - string
        font - string
        green - float
        image - string
        imageindex - integer (read only)
        is3dlight - boolean
        layer - integer
        mode - integer - the image drawing mode (0 - add, 1 - transparent, 2 - subtract, 3 - daynight)
        playerlook - boolean - if the animation should take it's head, body, sword, shield and attr[] from the owner (playerlook), set this to false if you want to set the images yourself by changing showimg.actor.head etc.
        polygon - object
        position - string
        red - float
        rotation - float
        shape - string
        shapeobject - object (read only)
        spin - float
        stretchx - float
        stretchy - float
        style - string
        text - string
        x - float
        y - float
        z - float
        zoom - float

  TDrawingPanel (TGraalVar):
    height - integer (read only)
    isclear - boolean (read only)
    parth - integer (read only)
    partw - integer (read only)
    partx - integer (read only)
    party - integer (read only)
    width - integer (read only)
    clearall()
    clearrectangle(int, int, int, int) - x, y, width and height
    drawimage(int, int, str) - x, y, source image
    drawimagerectangle(int, int, str, int, int, int, int) - destination x and y, source image, source x,y,width and height
    drawimagestretched(int, int, int, int, str, int, int, int, int) - destination x,y,width and height, source image, source x,y,width and height
    saveimage(str)

  Terraformer (TGraalVar):
    loadgrayscale(int, str) - returns boolean
    loadgreyscale(int, str) - returns boolean
    savegreyscale(int, str) - returns boolean
    setterrain(int) - returns boolean

  TFrameDetail (TGraalVar):
    bordercolor - string
    borderenable - string
    bordermovable - string
    borderwidth - integer
    minextent - string

  TGameObjectAttr (TGraalVar):

  TGaniParam (TGraalVar):

  TGraalAni (TGraalVar):
    continuous - boolean
    ganitype - string (read only)
    loop - boolean
    movie - boolean
    setbackto - string
    singledirection - boolean
    addsprite(int) - returns object
    addstep() - returns object
    deletesprite(int)
    deletestep(int)
    getsprite(int) - returns object
    insertstep(int) - returns object

  TGraalAniPart (TGraalVar):
    attr - integer
    dx - integer
    dy - integer
    param - integer
    sprite - object

  TGraalAniSound (TGraalVar):
    delay - float
    dx - float
    dy - float
    sound - string

  TGraalAniSprite (TGraalVar):
    alpha - float
    blue - float
    description - string
    green - float
    height - integer
    image - string
    imagetype - string (read only)
    mode - integer
    red - float
    rotation - float
    spriteindex - integer
    stretchx - float
    stretchy - float
    width - integer
    x - integer
    y - integer
    zoom - float
    addattachment() - returns object
    deleteattachment(int)
    insertattachment(int) - returns object

  TGraalAniStep (TGraalVar):
    delay - float
    addpos(int) - returns object
    deletepos(int, int)
    insertpos(int, int) - returns object

  TGraalSpriteAttachment (TGraalVar):
    behind - boolean
    dx - integer
    dy - integer
    sprite - object

  THTTPRequest (TGraalVar):
    address - string (read only)
    contentlanguage - string (read only)
    contentlength - integer (read only)
    contenttype - string (read only)
    downloadcomplete - boolean (read only)
    file - string (read only)
    fulldata - string (read only)
    lastmodified - string (read only)
    port - integer (read only)
    returncode - integer (read only)
    returnmessage - string (read only)
    server - string (read only)
    url - string (read only)

  TMovementRigid (TGraalVar):
    mass - float

  TParticle (TGraalVar):
    angle - float
    lifetime - float
    movementvector - string
    sound - string
    speed - float
    zangle - float

  TParticleEmitter (TGraalVar):
    attachposition - boolean
    autorotation - boolean
    checkbelowterrain - boolean
    clippingbox - string
    cliptoscreen - boolean
    continueafterdestroy - boolean
    currentparticlecount - integer (read only)
    delaymax - float
    delaymin - float
    dropemitter - object (read only)
    dropwateremitter - object (read only)
    emissionoffset - string
    emitatterrainheight - boolean
    emitautomatically - boolean
    emittedparticles - integer (read only)
    firstinfront - boolean
    isfrozen - boolean
    maxparticles - integer
    movementfactor - float
    nrofparticles - integer
    particle - object (read only)
    particletypes - integer
    wraptoclippingbox - boolean
    addemitmodifier(str, float, float, str, str, float, float) - returns object
    addglobalmodifier(str, float, float, str, str, float, float) - returns object
    addlocalmodifier(str, float, float, str, str, float, float) - returns object
    advancetime(float)
    emit()
    emitat(str)
    removemodifiers()
    removeparticles()

  TParticleModifier (TGraalVar):
    addmod(str, str, float, float)

  TScriptFunction (TGraalVar):

  TServerLevel (TGraalVar):
    compsdead - boolean (read only)
    height - integer (read only)
    isnopkzone - boolean (read only)
    issparringzone - boolean (read only)
    nopkzone - boolean (read only) - same like 'isnopkzone'
    tilelayercount - integer
    width - integer (read only)
    findareanpcs(float, float, float, float) - returns object - returns an array of all npcs at the specified rectangle (x,y,width,height)
    getmappartfile(float, float) - returns string
    hitcompu(int, int, float, float)
    putbomb(int, float, float)
    putcomp(str, float, float)
    putexplosion(int, float, float)
    putexplosion2(int, int, float, float)
    puthorse(str, float, float)
    putnewcomp(str, float, float, str, int)
    reflectarrow(int)
    removearrow(int)
    removebomb(int)
    removecompus()
    removeexplo(int)
    removehorse(int)
    removeitem(int)
    setz(int, int, int, int, float, float, float, float)
    shoot(float, float, float, float, float, float, str, str) - shoots a projectile with x,y,z,angle,zangle,strength,ani,aniparams
    testbomb(float, float) - returns integer
    testexplo(float, float) - returns integer
    testhorse(float, float) - returns integer
    testitem(float, float) - returns integer
    testnpc(float, float) - returns integer
    testsign(float, float) - returns integer
    tiletype(float, float) - returns integer

  TServerLevelLink (TGraalVar):
    destlevel - string (read only)
    destx - float (read only)
    desty - float (read only)
    height - float (read only)
    width - float (read only)
    x - float (read only)
    y - float (read only)

  TShapeMaterial (TGraalVar):
    specularpower - integer

  TShowImg_Values (TGraalVar):
    alpha - float
    blue - float
    green - float
    mode - integer - the image drawing mode (0 - add, 1 - transparent, 2 - subtract, 3 - daynight)
    red - float
    rotation - float
    spin - float
    stretchx - float
    stretchy - float
    zoom - float

    TShowImg_Flash (TShowImg_Values):
      flash - object (read only)

    TShowImg_Gani (TShowImg_Values):
      actor - object (read only)

    TShowImg_Image (TShowImg_Values):
      height - float
      parth - integer
      partw - integer
      partx - integer
      party - integer
      width - float

    TShowImg_Poly (TShowImg_Values):
      parth - integer
      partw - integer
      partx - integer
      party - integer

    TShowImg_Shape (TShowImg_Values):
      lightcolor - string
      lightdirection - string
      shadowdirection - string

    TShowImg_Text (TShowImg_Values):
      parth - integer
      partw - integer
      partx - integer
      party - integer
      shadowcolor - string
      shadowoffset - string
      textshadow - boolean

  TStaticVar (TGraalVar):
    destroy()

    Array (TStaticVar):
      initialize(params...)

    Color (TStaticVar):
      initialize(obj)
      setrgb(int)

    Date (TStaticVar):
      initialize(params...)

    Math (TStaticVar):
      abs(float) - returns float
      floor(float) - returns integer
      random() - returns float
      sin(float) - returns float
      sqrt(float) - returns float

    Sound (TStaticVar):
      initialize(params...)

    String (TStaticVar):
      initialize(params...)

  TTilesLayer (TGraalVar):
    alpha - float
    blue - float
    green - float
    layerindex - integer (read only)
    offset - string
    red - float
    x - float
    y - float
    z - float
    updateboard(int, int, int, int)

  TUpdatePackage (TGraalVar):
    accounts - object (read only)
    description - string (read only)
    downloadcomplete - boolean (read only)
    downloadedsize - integer (read only)
    filecount - integer (read only)
    filedownloadedsize - integer (read only)
    filename - string (read only)
    filetotalsize - integer (read only)
    isuninstalled - boolean (read only)
    lastdownloadfile - string (read only)
    localversion - float (read only)
    mode - string (read only)
    name - string (read only)
    parent - object (read only)
    platform - string (read only)
    protectoverwrite - boolean (read only)
    totalsize - integer (read only)
    usechecksum - boolean (read only)
    version - float (read only)
    reinstall() - returns boolean
    uninstall() - returns boolean
    update() - returns boolean