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

From Graal Bible
No edit summary
(Updated to v4.11)
Line 1: Line 1:
<pre>
<pre>
Global:
Global:
  $camera::movementspeed - float
   $pref::audio::choosenvoicecodec - integer
   $pref::audio::choosenvoicecodec - integer
   $pref::audio::microactivatebyvolume - boolean
   $pref::audio::microactivatebyvolume - boolean
Line 34: Line 33:
   $pref::input::mousesensitivity - float
   $pref::input::mousesensitivity - float
   $pref::interior::lockarrays - boolean
   $pref::interior::lockarrays - boolean
  $pref::terrain::enabledetails - boolean
   $pref::video::detailfactor - float
   $pref::video::detailfactor - float
   $pref::video::fogdistance - float
   $pref::video::fogdistance - float
   $pref::video::fullscreenmode - string
   $pref::video::fullscreenmode - string
   $pref::video::screenshotformat - string
   $pref::video::screenshotformat - string
  $pref::video::truetypefonts - boolean
   $pref::video::visibledistance - float
   $pref::video::visibledistance - float
   $pref::video::windowmode - string
   $pref::video::windowmode - string
Line 59: Line 58:
   focusx - float (read only)
   focusx - float (read only)
   focusy - float (read only)
   focusy - float (read only)
  ghostsnear - boolean (read only)
   graalversion - float (read only)
   graalversion - float (read only)
   gravity - float
   gravity - float
  isapplicationactive - boolean (read only)
   iscarrying - boolean (read only)
   iscarrying - boolean (read only)
   isfocused - boolean (read only)
   isfocused - boolean (read only)
Line 68: Line 69:
   lastdownloadfile - string (read only)
   lastdownloadfile - string (read only)
   leftmousebutton - boolean (read only)
   leftmousebutton - boolean (read only)
  leftmousebuttonglobal - boolean (read only)
   levelorgx - float (read only)
   levelorgx - float (read only)
   levelorgy - float (read only)
   levelorgy - float (read only)
   lighteffectsenabled - boolean
   lighteffectsenabled - boolean
   middlemousebutton - boolean (read only)
   middlemousebutton - boolean (read only)
  middlemousebuttonglobal - boolean (read only)
   mousebuttons - integer (read only)
   mousebuttons - integer (read only)
  mousebuttonsglobal - integer (read only)
  mousepitch - float (read only)
   mousescreenx - integer
   mousescreenx - integer
   mousescreeny - integer
   mousescreeny - integer
Line 78: Line 83:
   mousex - float
   mousex - float
   mousey - float
   mousey - float
  mouseyaw - float (read only)
   musiclen - integer (read only)
   musiclen - integer (read only)
   musicpos - integer (read only)
   musicpos - integer (read only)
   particleeffectsenabled - boolean
   particleeffectsenabled - boolean
   rightmousebutton - boolean (read only)
   rightmousebutton - boolean (read only)
  rightmousebuttonglobal - boolean (read only)
   screenheight - integer (read only)
   screenheight - integer (read only)
   screenwidth - integer (read only)
   screenwidth - integer (read only)
Line 125: Line 132:
   adventure_setaccountname(str)
   adventure_setaccountname(str)
   adventure_setchat(str)
   adventure_setchat(str)
  adventure_setcheatwindows(str)
   adventure_setnickname(str)
   adventure_setnickname(str)
   adventure_setpassword(str)
   adventure_setpassword(str)
  adventure_startbilliard()
  adventure_startfairyland()
   adventure_startofflinemode()
   adventure_startofflinemode()
   adventure_updateaccountfield()
   adventure_updateaccountfield()
Line 136: Line 146:
   adventure_updateradiovolume()
   adventure_updateradiovolume()
   aindexof(float, obj) - returns integer
   aindexof(float, obj) - returns integer
  arccos(float) - returns float
  arcsin(float) - returns float
   attachplayertoobj(int, int)
   attachplayertoobj(int, int)
   base64decode(str) - returns string
   base64decode(str) - returns string
   base64encode(str) - returns string
   base64encode(str) - returns string
  boxscale(str, str) - returns string
   callnpc(int, params...)
   callnpc(int, params...)
   callweapon(int, params...)
   callweapon(int, params...)
   checksum(str) - returns float
   checksum(str) - returns float
  commandtoserver(str)
   contains(str, str) - returns boolean
   contains(str, str) - returns boolean
   cursoroff()
   cursoroff()
Line 178: Line 190:
   findweapon(str) - returns object
   findweapon(str) - returns object
   freezeplayer(float)
   freezeplayer(float)
  getanglesfromvector(str) - returns object
   getascii(str) - returns integer
   getascii(str) - returns integer
   getbasepackage() - returns object
   getbasepackage() - returns object
   getboxcenter(str) - returns string
   getboxcenter(str) - returns string
  getdatablocktypes() - returns object
   getdisplaydevicelist() - returns string
   getdisplaydevicelist() - returns string
   getdownloadedupdatepackagesize() - returns integer
   getdownloadedupdatepackagesize() - returns integer
Line 196: Line 208:
   getmusicstatus() - returns string
   getmusicstatus() - returns string
   getmusictags() - returns object
   getmusictags() - returns object
  getobjectat(float, float) - returns object
  getobjectatmouse() - returns object
  getobjectbyray(str, str) - returns object
   getpackagesdownloadcomplete() - returns boolean
   getpackagesdownloadcomplete() - returns boolean
   getpackagesdownloaded() - returns boolean
   getpackagesdownloaded() - returns boolean
Line 206: Line 215:
   getstringkeys(str) - returns object
   getstringkeys(str) - returns object
   getsurfacetype(float, float) - returns string
   getsurfacetype(float, float) - returns string
  getterraintexture(float, float) - returns string
  getterraintextureindex(float, float) - returns integer
   gettextheight(float, str, str) - returns integer
   gettextheight(float, str, str) - returns integer
   gettextwidth(float, str, str, str) - returns integer
   gettextwidth(float, str, str, str) - returns integer
   gettotalupdatepackagesize() - returns integer
   gettotalupdatepackagesize() - returns integer
   getupdatepackage(str) - returns object
   getupdatepackage(str) - returns object
  getvectorfromangles(float, float) - returns string
   getz(float, float) - returns float
   getz(float, float) - returns float
   hideplayer(float)
   hideplayer(float)
Line 219: Line 231:
   iscursoron() - returns boolean
   iscursoron() - returns boolean
   isdevicefullscreenonly(str) - returns boolean
   isdevicefullscreenonly(str) - returns boolean
  isdownloading(str) - returns boolean - checks if a file is currently downloaded or requested from the server
   isimgpixeltransparent(str, int, int) - returns boolean
   isimgpixeltransparent(str, int, int) - returns boolean
   isimgrectangletransparent(str, int, int, int, int) - returns boolean
   isimgrectangletransparent(str, int, int, int, int) - returns boolean
Line 229: Line 242:
   loadmap(str)
   loadmap(str)
   lowercase(str) - returns string
   lowercase(str) - returns string
   mapshapeanimation(str, str, str, float) - returns boolean
   ltmfs(bool)
  ltmmax(float, float)
  ltmmin(float, float)
   matrixcreate(str, str) - returns string
   matrixcreate(str, str) - returns string
   matrixcreatefromeuler(str) - returns string
   matrixcreatefromeuler(str) - returns string
Line 246: Line 261:
   play(str)
   play(str)
   play2(str, float, float, float)
   play2(str, float, float, float)
  play3d(str, bool, str, str)
   playlooped(str)
   playlooped(str)
   playlooped2(str, float, float, float)
   playlooped2(str, float, float, float)
Line 253: Line 269:
   radtodeg(float) - returns float
   radtodeg(float) - returns float
   randomstring(str) - returns string
   randomstring(str) - returns string
  reloadfile(str)
   removetiledefs(str)
   removetiledefs(str)
   replaceani(str, str)
   replaceani(str, str)
Line 264: Line 279:
   requesturl(str) - returns object
   requesturl(str) - returns object
   resetfocus()
   resetfocus()
  rotationadd(str, str) - returns string
  rotationaddeuler(str, str) - returns string
  rotationfromeuler(str) - returns string
  rotationsub(str, str) - returns string
  rotationtoeuler(str) - returns string
   savelog(str)
   savelog(str)
   say(int)
   say(int)
Line 291: Line 311:
   setmusicvolume(float, float)
   setmusicvolume(float, float)
   setplayerdir(str)
   setplayerdir(str)
  setshadowdetaillevel(float)
   setshield(str, int)
   setshield(str, int)
   setshoecolor(str)
   setshoecolor(str)
Line 314: Line 333:
   triggeraction(float, float, str, params...)
   triggeraction(float, float, str, params...)
   triggerserver(str, str)
   triggerserver(str, str)
  update3dterrain(float, float, float, float)
   updateboard(int, int, int, int)
   updateboard(int, int, int, int)
   updateratings(obj) - returns object - updates an array of {rating1,ratingdeviation1, rating2,ratingdeviation2, ...}, init them at 1500 and 350
   updateratings(obj) - returns object - updates an array of {rating1,ratingdeviation1, rating2,ratingdeviation2, ...}, init them at 1500 and 350
Line 335: Line 355:
TGraalVar:
TGraalVar:
   initialized - boolean (read only)
   initialized - boolean (read only)
   joinedclasses - object (read only)
  ispaused - boolean
   joinedclasses - object
   name - string (read only)
   name - string (read only)
   scriptlogmissingfunctions - boolean
   scriptlogmissingfunctions - boolean
Line 343: Line 364:
   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)
   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)
   copyfrom(obj) - copies all variables and array values from another object, doesn't work for protected variables like players though
   copyfrom(obj) - copies all variables and array values from another object, doesn't work for protected variables like players though
  getdatablockvars() - returns object - gets the names of all variables which are pointing to datablocks (for Graal3D, will be removed soon)
   getdynamicvarnames() - returns object - gets the names of all dynamic (not built-in) subvariables of this object
   getdynamicvarnames() - returns object - gets the names of all static (built-in) subvariables of this object
   geteditvarnames() - returns object - gets the names of all dynamic variables which can be modified
   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")
   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 dynamic (not built-in) subvariables of this object
   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
   getvarnames() - returns object - gets the names of all subvariables of this object
   ignoreevent(str, str) - lets the object ignore an event (second parameter) of the specified object name
   ignoreevent(str, str) - lets the object ignore an event (second parameter) of the specified object name
Line 382: Line 402:
     save()
     save()
     unbind(str, str)
     unbind(str, str)
  DTSAniThread (TGraalVar):
    aniindex - integer (read only)
    atend - boolean (read only)
    attack - boolean
    endpos - float
    hold - boolean
    sequence - string
    startpos - float
    state - string
    timescale - float
    transtitiontime - float
    play()
  GameMovementInterpolate (TGraalVar):
    applyimpulse(str, str)
    GameMovementRigid (GameMovementInterpolate):
  GameMovementList (TGraalVar):
    finishmoves()
    move3d(str, float, int)
  GameShape (TGraalVar):
    pixelshader - string
    vertexshader - string
    GameShapeDIF (GameShape):
      showterraininside - boolean
      activatelight(str)
      deactivatelight(str)
    GameShapeDTS (GameShape):
      getanimation(int) - returns object
      listnodes() - returns object
      pauseanimation(int)
      playanimation(int, str, int) - returns object
      playanimation2(int, str, int, float, float, float, float) - returns object
      stopanimation(int)
    GameShapeFT (GameShape):
      levels - integer
      seed - integer


   GuiControl (TGraalVar):
   GuiControl (TGraalVar):
Line 416: Line 479:
     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
     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()
     hide()
    isactuallyvisible() - returns boolean
     isfirstresponder() - 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)
     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)
Line 423: Line 487:
     show()
     show()
     showtop() - calls show(), tabfirst() and bringtofront()
     showtop() - calls show(), tabfirst() and bringtofront()
    startdrag()
     tabfirst() - returns object
     tabfirst() - returns object


Line 473: Line 538:


       GuiTreeViewCtrl (GuiArrayCtrl):
       GuiTreeViewCtrl (GuiArrayCtrl):
        boxwidth - integer
         clipcolumntext - boolean
         clipcolumntext - boolean
         columns - string - of format "0 16", offset of the tabulators
         columns - string - of format "0 16", offset of the tabulators
Line 479: Line 545:
         expandedselectedimage - integer
         expandedselectedimage - integer
         expandondoubleclick - boolean
         expandondoubleclick - boolean
        extent - string (read only)
        firstlinevisible - boolean
         fitparentwidth - boolean
         fitparentwidth - boolean
         groupsortorder - string
         groupsortorder - string
        height - integer (read only)
        hint - string
         image - integer
         image - integer
         level - integer (read only)
         level - integer (read only)
         name - string
         name - string - same as 'text'
         nodes - object (read only)
         nodes - object (read only)
         parent - object (read only)
         parent - object (read only)
        position - string (read only)
        profile - object
         selectedimage - integer
         selectedimage - integer
         sortgroup - integer
         sortgroup - integer
Line 491: Line 563:
         sortorder - string
         sortorder - string
         sortvalue - integer
         sortvalue - integer
        statuswidth - integer
        text - string
        useownprofile - boolean
         visible - boolean
         visible - boolean
        width - integer (read only)
         x - integer (read only)
         x - integer (read only)
         y - integer (read only)
         y - integer (read only)
Line 499: Line 575:
         addvars(obj, bool)
         addvars(obj, bool)
         clearnodes()
         clearnodes()
        clearrows() - same as clearNodes()
         destroy()
         destroy()
         getfullname(str) - returns string
         getfullname(str) - returns string
Line 526: Line 603:
       setbitmap(str)
       setbitmap(str)
       setvalue(int, int)
       setvalue(int, int)
      GuiCrossHairHud (GuiBitmapCtrl):


       GuiMapOverviewCtrl (GuiBitmapCtrl):
       GuiMapOverviewCtrl (GuiBitmapCtrl):
Line 589: Line 664:
       insertrow(int, int, str) - returns object - the inserted row
       insertrow(int, int, str) - returns object - the inserted row
       isidselected(int) - returns boolean
       isidselected(int) - returns boolean
      isopen() - returns boolean
       isrowselected(int) - returns boolean
       isrowselected(int) - returns boolean
       makevisible(int)
       makevisible(int)
Line 619: Line 695:
       loopmovie - boolean
       loopmovie - boolean
       moviename - string
       moviename - string
      requiresactivex - boolean
      tryactivex - boolean
       getflashvariable(str) - returns string
       getflashvariable(str) - returns string
       loadmovie(str, bool, float)
       loadmovie(str, bool, float)
Line 706: Line 784:
       modelrotx - float
       modelrotx - float
       modelrotz - float
       modelrotz - float
       mountshape(int, int, str, str) - returns boolean
       shape - string
       setmodel(str, str, str)
       shapeobject - object (read only)
      unmountshape(int)


     GuiProgressCtrl (GuiControl):
     GuiProgressCtrl (GuiControl):
Line 734: Line 811:
       fillcolor - string
       fillcolor - string
       framecolor - string
       framecolor - string
      maxdistance - float
       showfill - boolean
       showfill - boolean
       showframe - boolean
       showframe - boolean
Line 744: Line 822:
       ani - string
       ani - string
       ani - string
       ani - string
      attachnode - string
       attachoffset - string
       attachoffset - string
       attachtoowner - boolean
       attachtoowner - boolean
Line 753: Line 832:
       emitter - object (read only)
       emitter - object (read only)
       eulerrotation - string
       eulerrotation - string
      flashfile - string
       font - string
       font - string
       green - float
       green - float
       image - string
       image - string
       imageindex - integer (read only)
       imageindex - integer (read only)
      is3dlight - boolean
       layer - integer
       layer - integer
       layer - integer
       layer - integer
Line 764: Line 845:
       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.
       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
       polygon - object
      position - string
       red - float
       red - float
       rotation - float
       rotation - float
       shape - string
       shape - string
      shapeobject - object (read only)
       stretchx - float
       stretchx - float
       stretchy - float
       stretchy - float
Line 773: Line 856:
       x - float
       x - float
       y - float
       y - float
      z - float
       zoom - float
       zoom - float


Line 779: Line 863:
       ticks - integer
       ticks - integer
       value - float
       value - float
    GuiStretchCtrl (GuiControl):
      clientextent - integer
      clientheight - integer
      clientwidth - integer


     GuiTabCtrl (GuiControl):
     GuiTabCtrl (GuiControl):
Line 857: Line 946:
         insertrow(int, int, str) - returns object - the inserted row
         insertrow(int, int, str) - returns object - the inserted row
         isidselected(int) - returns boolean
         isidselected(int) - returns boolean
        isopen() - returns boolean
         isrowselected(int) - returns boolean
         isrowselected(int) - returns boolean
         makevisible(int)
         makevisible(int)
Line 916: Line 1,006:
         insertrow(int, int, str) - returns object - the inserted row
         insertrow(int, int, str) - returns object - the inserted row
         isidselected(int) - returns boolean
         isidselected(int) - returns boolean
        isopen() - returns boolean
         isrowselected(int) - returns boolean
         isrowselected(int) - returns boolean
         makevisible(int)
         makevisible(int)
Line 1,027: Line 1,118:
       mouserotatescale - float
       mouserotatescale - float
       mousescalescale - float
       mousescalescale - float
      namedistancefade - float
      namemaxdistance - float
       objectsuseboxcenter - boolean
       objectsuseboxcenter - boolean
       objecttextcolor - string
       objecttextcolor - string
Line 1,079: Line 1,172:
     autosizeheight - boolean
     autosizeheight - boolean
     autosizewidth - boolean
     autosizewidth - boolean
    backgroundinset - string
     bitmap - string
     bitmap - string
     border - integer
     border - integer
Line 1,106: Line 1,200:
     opaque - boolean
     opaque - boolean
     returntab - boolean
     returntab - boolean
    shadowcolor - string
    shadowoffset - string
     soundbuttondown - string
     soundbuttondown - string
     soundbuttonover - string
     soundbuttonover - string
     tab - boolean
     tab - boolean
     textoffset - string
     textoffset - string
    textshadow - boolean
     transparency - float
     transparency - float


Line 1,123: Line 1,220:
   GuiTextListEntry (TGraalVar):
   GuiTextListEntry (TGraalVar):
     active - boolean
     active - boolean
    extent - string (read only)
     flickering - boolean
     flickering - boolean
    height - integer (read only)
    hint - string
     id - integer
     id - integer
     image - integer
     image - integer
    position - string (read only)
    profile - object
     selectedimage - integer
     selectedimage - integer
     sortgroup - integer
     sortgroup - integer
     sortvalue - integer
     sortvalue - integer
     text - string
     text - string
    useownprofile - boolean
    width - integer (read only)
    x - integer (read only)
    y - integer (read only)
     gettext() - returns string
     gettext() - returns string
     settext(str)
     settext(str)
Line 1,137: Line 1,243:
     expandedimage - integer
     expandedimage - integer
     expandedselectedimage - integer
     expandedselectedimage - integer
    extent - string (read only)
    height - integer (read only)
    hint - string
     image - integer
     image - integer
     level - integer (read only)
     level - integer (read only)
     name - string
     name - string - same as 'text'
     parent - object (read only)
     parent - object (read only)
    position - string (read only)
    profile - object
     selectedimage - integer
     selectedimage - integer
     sortgroup - integer
     sortgroup - integer
     sortvalue - integer
     sortvalue - integer
    text - string
    useownprofile - boolean
     visible - boolean
     visible - boolean
    width - integer (read only)
     x - integer (read only)
     x - integer (read only)
     y - integer (read only)
     y - integer (read only)
Line 1,158: Line 1,272:
     select()
     select()


   MissionArea (TGraalVar):
   MRandomGenerator (TGraalVar):
    seed - integer
    destroy()
    randfloat() - returns float
    randint() - returns integer


  ShapeBaseHitBox (TGraalVar):
    MRandomLCG (MRandomGenerator):
    hitmax - string
    hitmin - string
    nodename - string


  ShapeImageState (TGraalVar):
    MRandomR250 (MRandomGenerator):
    allowimagechange - boolean
    direction - boolean
    ejectshell - boolean
    emitter - object
    emitternode - string
    emittertime - float
    emittertype - string
    energydrain - float
    fire - boolean
    freezelook - boolean
    ignoreloadedforready - boolean
    loadedflag - string
    name - string
    recoil - string
    script - string
    sequence - string
    sequencerandomflash - boolean
    sound - object
    spinthread - string
    timeoutvalue - float
    transitiononammo - string
    transitiononloaded - string
    transitiononnoammo - string
    transitiononnotarget - string
    transitiononnotloaded - string
    transitiononnotwet - string
    transitionontarget - string
    transitionontimeout - string
    transitionontriggerdown - string
    transitionontriggerup - string
    transitiononwet - string
    waitfortimeout - boolean


   SimObject (TGraalVar):
   SimObject (TGraalVar):


     SceneObject (SimObject):
     SceneObject (SimObject):
      eulerrotation - string
       forwardvector - string
       forwardvector - string
       objectbox - string (read only)
       objectbox - string (read only)
       position - string
       position - string
      renderposition - string
       rightvector - string
       rightvector - string
       rotation - string
       rotation - string
       scale - string
       scale - string
      scaledobjectbox - string (read only)
       transform - string
       transform - string
       upvector - string
       upvector - string
Line 1,232: Line 1,318:
       setupvector(str)
       setupvector(str)


       AudioEmitter (SceneObject):
       fxSunLight (SceneObject):
        description - object
        filename - string
        profile - object


       FractalTree (SceneObject):
       GameObject (SceneObject):
         deffile - string
         alpha - float
         levels - integer
        attr - object
         seed - integer
        attrobjects - object (read only)
        chat - string
         iseditorobject - boolean
        liquidheight - float (read only)
        liquidtype - string (read only)
        movetype - string
        nickcolor - string
        nickname - string
        scaledshapebox - string (read only)
        shape - string
        shapebox - string (read only)
        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
        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)
        ismounted() - returns boolean
        mountobject(obj, int) - returns boolean
        setdirection(str)
        unmount()
        unmountobject(obj) - returns boolean


      fxFoliageReplicator (SceneObject):
        Camera (GameObject):
          cameramode - string
          eulerrotation - string
          lookatposition - string
          lookvector - string
          updateposition()


      fxGrassReplicator (SceneObject):
         DynamicShapeReplicator (GameObject):
 
      fxShapeReplicator (SceneObject):
 
      fxSunLight (SceneObject):
 
      GameBase (SceneObject):
        datablock - object
 
         DynamicShapeReplicator (GameBase):
           boxmax - string
           boxmax - string
           boxmin - string
           boxmin - string
Line 1,266: Line 1,382:
           DynamicGrassReplicator (DynamicShapeReplicator):
           DynamicGrassReplicator (DynamicShapeReplicator):


         Explosion (GameBase):
      Sky (SceneObject):
          datablock - object
        materiallist - string
        skyfadetime - float
        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)


        fxLight (GameBase):
      TerrainBlock (SceneObject):
          datablock - object
        bumpoffset - float
        bumpscale - float
        bumptexture - string
        squaresize - integer
        terrainfile - string
        zerobumpscale - integer


        Lightning (GameBase):
      twSurfaceReference (SceneObject):
          strikesperminute - integer


        ParticleEmitter (GameBase):
      WaterBlock (SceneObject):
 
         density - float
         ParticleEmitterNode (GameBase):
         depthgradient - float
          datablock - object
        distortgridscale - float
          emitter - object
        distortmag - float
 
        distorttime - float
         PathedInterior (GameBase):
        envmapintensity - float
 
         envmapovertexture - string
        Precipitation (GameBase):
        envmapundertexture - string
          maxmass - float
         flowangle - float
          maxspeed - float
        flowrate - float
          minmass - float
        liquidtype - string
          minspeed - float
        maxalpha - float
          percentage - float
        minalpha - float
          modifystorm(float, float)
        removewetedges - boolean
 
        shoredepth - float
         Projectile (GameBase):
        shoretexture - string
          datablock - object
        specularcolor - string
          initialposition - string
        specularmasktex - string
          initialvelocity - string
        specularpower - float
          sourceobject - object
        submergetexture0 - string
 
        submergetexture1 - string
         ShapeBase (GameBase):
        surfaceopacity - float
          chat - string
        surfaceparallax - float
          datablock - object
        surfacetexture - string
          shapenamecolor - string
        tessshore - float
          applydamage(float)
        tesssurface - float
          applyimpulse(str, str) - returns boolean
        usedepthmask - boolean
          applyrepair(float)
        viscosity - float
          cancloak() - returns string
        wavemagnitude - float
          detachallprojectiles()
          detachprojectiles(int)
          getairepairpoint() - returns string
          getcamerafov() - returns float
          getcontrollingclient() - returns object
          getcontrollingobject() - returns object
          getdamageflash() - returns float
          getdamagelevel() - returns float
          getdamagepercent() - returns float
          getdamagestate() - returns string
          getenergylevel() - returns float
          getenergypercent() - returns float
          geteyepoint() - returns string
          geteyetransform() - returns string
          geteyevector() - returns string
          getimageammo(int) - returns boolean
          getimageloaded(int) - returns boolean
          getimageskintag(int) - returns integer
          getimagestate(int) - returns string
          getimagetrigger(int) - returns boolean
          getmountedimage(int) - returns object
          getmountedobject(int) - returns object
          getmountedobjectcount() - returns integer
          getmountedobjectnode(int) - returns integer
          getmountnodeobject(int) - returns object
          getmountslot(str) - returns integer
          getmounttransform(int) - returns string
          getmuzzlepoint(int) - returns string
          getmuzzlevector(int) - returns string
          getobjectmount() - returns object
          getpendingimage(int) - returns object
          getrechargerate() - returns float
          getrepairrate() - returns float
          getshapename() - returns string
          getskinname() - returns string
          getslottransform(int) - returns string
          getthread(int) - returns string
          getthreadposition(int) - returns float
          getvelocity() - returns string
          getwhiteout() - returns float
          hide()
          iscloaked() - returns boolean
          isdestroyed() - returns boolean
          isdisabled() - returns boolean
          isenabled() - returns boolean
          ishidden() - returns boolean
          isimagefiring(int) - returns boolean
          isimagemounted(str) - returns boolean
          islookfrozen() - returns boolean
          ismounted() - returns boolean
          mountimage(str, int) - returns boolean
          mountobject(obj, int) - returns boolean
          pausethread(int) - returns boolean
          playaudio(int, obj) - returns boolean
          playthread(int, str) - returns boolean
          playthreadext(int, str, float, float, float, bool) - returns boolean
          registermelee(str, str, obj, int, str, str) - returns boolean
          setcamerafov(float)
          setcloaked(bool)
          setdamageflash(float)
          setdamagelevel(float)
          setdamagestate(str) - returns boolean
          setdamagevector(str)
          setenergylevel(float)
          sethidden(bool)
          setimageammo(int, bool) - returns boolean
          setimageloaded(int, bool) - returns boolean
          setimagetrigger(int, bool) - returns boolean
          setinvinciblemode(float, float)
          setrechargerate(float)
          setrepairrate(float)
          setshapename(str)
          setskinname(str)
          setthreaddir(int, bool) - returns boolean
          setvelocity(str) - returns boolean
          setwhiteout(float)
          show()
          startfade(float, float, bool)
          stopaudio(int) - returns boolean
          stopthread(int) - returns boolean
          unmount()
          unmountimage(int) - returns boolean
          unmountobject(obj) - returns boolean
          unregistermelee(int) - returns boolean
 
          AdvancedCamera (ShapeBase):
            cameramode - integer
            zoomdistance - float
            clearplayerobject()
            cleartargetobject()
            getcameraposition() - returns string
            getgodviewoffset() - returns string
            getlookatoffset() - returns string
            getthirdpersonoffset() - returns string
            setcameraposition(str)
            setflymode()
            setfollowterrainmode(bool)
            setgodviewmode()
            setgodviewoffset(str)
            setlookatoffset(str)
            setorbitchangeangle(float)
            setorbitchangezoom(float)
            setorbitminmaxdeclination(str)
            setorbitminmaxzoom(str)
            setorbitmode()
            setplayerobject(obj)
            settargetobject(obj)
            setthirdpersonmode()
            setthirdpersonoffset(str)
            setthirdpersonpanmode()
            setthirdpersontargetmode()
            settrackmode()
 
          Camera (ShapeBase):
            setflymode()
            setorbitmode(obj, str, float, float, float, bool)
 
          MissionMarker (ShapeBase):
            datablock - object
 
          PathCamera (ShapeBase):
            datablock - object
 
          Player (ShapeBase):
            datablock - object
            speed - float
            swimming - boolean (read only)
            checkdismountpoint(str, str) - returns boolean
            clearcontrolobject()
            getcontrolobject() - returns object
            getdamagelocation(str) - returns string
            getstate() - returns string
            setactionthread(str, bool, bool) - returns boolean
            setcontrolobject(obj) - returns boolean
 
            AIPlayer (Player):
              maxturnpitch - float
              maxturnyaw - float
              simplemovement - boolean
              wallcheck - boolean
              clearaim()
              getaimlocation() - returns string
              getaimobject() - returns object
              getmovedestination() - returns string
              ismoving() - returns boolean
              setaimlocation(str)
              setaimobject(obj)
              setmovedestination(str, bool)
              setmovespeed(float)
              stop()
 
          StaticShape (ShapeBase):
            datablock - object


          Vehicle (ShapeBase):
    SimGroup (SimObject):
            datablock - object
      addcontrol(obj)


            FlyingVehicle (Vehicle):
      GameConnection (SimGroup):
              datablock - object
        account - string (read only)
              usecreateheight(bool)
        camera - object (read only)
        nick - string (read only)
        objecttype() - returns string - returns the object type, which can be TGraalVar, TProjectile etc.


            HoverVehicle (Vehicle):
    Sun (SimObject):
              datablock - object


            WheeledVehicle (Vehicle):
  TDrawableObject (TGraalVar):
              datablock - object
    layer - integer (read only)
              getwheelcount() - returns integer
              setwheelpowered(int, bool) - returns boolean
              setwheelspring(int, obj) - returns boolean
              setwheelsteering(int, float) - returns boolean
              setwheeltire(int, obj) - returns boolean


        SpawnSphere (GameBase):
    TBaddy (TDrawableObject):
          indoorweight - float
      dir - integer
          outdoorweight - float
      headdir - integer
          radius - float
      mode - integer
          sphereweight - float
      power - integer
 
      type - integer
        Splash (GameBase):
      x - float
 
      y - float
        Trigger (GameBase):
          datablock - object


        TSStatic (GameBase):
    TLevelObject (TDrawableObject):
          noshadowlevel - float
      level - object (read only)
          onlyambientlight - boolean
      x - float
      y - float
      z - float


          Item (TSStatic):
      TExplosion (TLevelObject):
            datablock - object
        dir - integer (read only)
            hide()
        power - integer (read only)
            show()
        time - float (read only)
            startfade(float, float, bool)


       InteriorInstance (SceneObject):
       TGaniObject (TLevelObject):
         audioenvironment - object
         ani - object (read only)
         audioprofile - object
         aniparams - string (read only)
         interiorfile - string
         anistep - integer (read only)
         showterraininside - boolean
         attachid - integer (read only)
 
        attachtype - integer (read only)
      Marker (SceneObject):
        attr - object (read only)
 
        body - string
      Shape3ds (SceneObject):
        bodyimg - string
 
        colors - object (read only)
      Sky (SceneObject):
        dir - integer
         materiallist - string
        gmap - object (read only)
         skyfadetime - float
         head - string
         windvelocity - string
        headimg - string
         getwindowvelocity() - returns string
         rotation - float
         realfog(bool, float, float, float) - specify if it should show, and max, min and speed values
         shield - string
         stormclouds(bool, float) - specify if it should show, and the duration
         sprite - integer
         stormcloudsshow(bool)
         stretchx - float
         stormfog(float, float) - percent and duration of the fog
        stretchy - float
         stormfogshow(bool)
        sword - string
         zoom - float
         getimageforsprite(obj) - returns string
         getsprite(str) - returns object
         getspriteforspritepos(obj) - returns object


      TerrainBlock (SceneObject):
        TProjectile (TGaniObject):
        bumpoffset - float
          angle - float (read only)
        bumpscale - float
          fromplayer - object (read only)
        bumptexture - string
          horiz - boolean (read only)
        detailtexture - string
          params - object (read only)
        squaresize - integer
          speed - float (read only)
        terrainfile - string
          x - float (read only)
        zerobumpscale - integer
          y - float (read only)
          z - float (read only)
          zspeed - float (read only)


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


      volumeLight (SceneObject):
        TServerPlayer (TGaniObject):
 
          account - string (read only)
      WaterBlock (SceneObject):
          ap - integer
        audioenvironment - object
          attached - boolean (read only)
        density - float
          bombs - integer
        depthgradient - float
          chat - string
        distortgridscale - float
          darts - integer
        distortmag - float
          fullhearts - integer (read only)
        distorttime - float
          glovepower - integer
        envmapintensity - float
          gralats - integer
        envmapovertexture - string
          guild - string (read only)
        envmapundertexture - string
          headimg - string
        flowangle - float
          headset - integer
        flowrate - float
          hearts - float (read only)
        liquidtype - string
          horseimg - string (read only)
        maxalpha - float
          hp - float (read only)
        minalpha - float
          id - integer (read only)
        removewetedges - boolean
          isadmin - boolean (read only)
        shoredepth - float
          isbuddy - boolean
        shoretexture - string
          ischannel - boolean (read only)
        specularcolor - string
          ischannelopen - boolean (read only)
        specularmasktex - string
          ischanneluser - boolean (read only)
        specularpower - float
          isexternal - boolean (read only)
        submergetexture0 - string
          isfemale - boolean (read only)
        submergetexture1 - string
          isignored - boolean
        surfaceopacity - float
          isignoring - boolean (read only)
        surfaceparallax - float
          isloggedin - boolean (read only)
        surfacetexture - string
          ismale - boolean (read only)
        tessshore - float
          ismuted - boolean (read only)
        tesssurface - float
          ismuting - boolean (read only)
        usedepthmask - boolean
          language - string (read only)
        viscosity - float
          languagedomain - string (read only)
        wavemagnitude - float
          maxhp - integer (read only)
 
          messagebubble - integer (read only)
    SimDataBlock (SimObject):
          mp - integer
      isdatablock - boolean (read only)
          nick - string
 
          platform - string (read only)
      AudioDescription (SimDataBlock):
          playersindex - integer (read only)
          rating - float (read only)
          ratingd - float (read only)
          rupees - integer - better use 'gralats'
          shieldimg - string
          shieldpower - integer (read only)
          swordimg - string
          swordpower - integer (read only)
          x - float
          y - float
          isguildpm() - returns boolean
          ismasspm() - returns boolean
          openexternalhistory() - returns boolean
          openexternalpm(bool) - returns boolean
          pmswaiting() - returns boolean
          showprofile()


      AudioProfile (SimDataBlock):
          TPlayer (TServerPlayer):
        description - object
            ap - integer
        environment - object
            chat - string
 
            freezetime - float
      DecalData (SimDataBlock):
            hearts - float
        lifetime - float
            horseimg - string
 
            hp - float
      GameBaseData (SimDataBlock):
            hurt - boolean (read only)
 
            hurtdx - float (read only)
        DebrisData (GameBaseData):
            hurtdy - float (read only)
          explosion - object
            hurted - boolean (read only)
 
            hurtpower - float (read only)
        ExplosionData (GameBaseData):
            isfemale - boolean (read only)
          debris - object
            ismale - boolean (read only)
          particleemitter - object
            letters - string
          soundprofile - object
            map - boolean (read only)
 
            nick - string (read only)
        fxLightData (GameBaseData):
            onhorse - boolean (read only)
 
            online - boolean (read only)
        ItemData (GameBaseData):
            paused - boolean (read only)
 
            reading - boolean (read only)
        LightningData (GameBaseData):
            shieldimg - string
          strikesound - object
            sprite - integer
 
            swimming - boolean (read only)
        ParticleEmitterData (GameBaseData):
            swordimg - string
          particles - string
            transform - string
            weapon - object (read only)
            weapons - object (read only)


        ParticleEmitterNodeData (GameBaseData):
           TServerNPC (TServerPlayer):
 
            actionplayer - integer (read only)
        PathedInteriorData (GameBaseData):
            hearts - float
          startsound - object
            height - float (read only)
          stopsound - object
            horseimg - string
           sustainsound - object
            hp - float
 
            hurtdx - float
        PrecipitationData (GameBaseData):
            hurtdy - float
          soundprofile - object
            image - string
 
            isblocking - boolean
        ProjectileData (GameBaseData):
            isblockingprojectiles - boolean
          armingdelay - integer
            layer - integer
          bounceelasticity - float
            npcsindex - integer (read only)
          bouncefriction - float
            peltwithblackstone - boolean (read only)
          explosion - object
            peltwithbush - boolean (read only)
          fadedelay - integer
            peltwithnpc - boolean (read only)
          gravitymod - float
             peltwithsign - boolean (read only)
          lifetime - integer
             peltwithstone - boolean (read only)
          lightradius - float
             peltwithvase - boolean (read only)
          muzzlevelocity - float
             save - object (read only)
          particleemitter - object
             shieldpower - integer
          velinheritfactor - float
             sprite - integer
 
             swordpower - integer
        ShapeBaseData (GameBaseData):
             visible - boolean
          debris - object
             width - float (read only)
          explosion - object
             x - float
          noshadowlevel - float
             y - float
          onlyambientlight - boolean
             blockagain()
          showhitboxes - boolean
             blockagainlocal()
          underwaterexplosion - object
             canbecarried()
 
             canbepulled()
          AdvancedCameraData (ShapeBaseData):
             canbepushed()
 
             cannotbecarried()
          CameraData (ShapeBaseData):
             cannotbepulled()
 
             cannotbepushed()
          MissionMarkerData (ShapeBaseData):
             carryobject(str)
 
             changeimgcolors(int, float, float, float, float)
          PlayerData (ShapeBaseData):
             changeimgmode(int, int)
             decaldata - object
             changeimgpart(int, int, int, int, int)
             dustemitter - object
            changeimgvis(int, int)
             exitingwater - object
             changeimgzoom(int, float)
             footbubblessound - object
             destroy()
             foothardsound - object
             dontblock()
             footmetalsound - object
             dontblocklocal()
             footpuffemitter - object
             drawaslight()
             footshallowsound - object
             drawoverplayer()
             footsnowsound - object
             drawunderplayer()
             footsoftsound - object
             findimg(int) - returns object
             footunderwatersound - object
             hide()
             footwadingsound - object
             hideimg(int)
             impacthardsound - object
            hideimgs(int, int)
             impactmetalsound - object
            hidelocal()
             impactsnowsound - object
            hurt(int)
             impactsoftsound - object
            lay(str)
             impactwatereasy - object
            message(str)
             impactwaterhard - object
            move(float, float, float, int)
             impactwatermedium - object
            setbow(str)
             jumpingsound - object
            setcharani(str, str)
             movingbubblessound - object
            setchargender(str)
             splash - object
            setcoloreffect(float, float, float, float)
             waterbreathsound - object
            seteffectmode(int)
 
            setimg(str)
          StaticShapeData (ShapeBaseData):
            setimgpart(str, int, int, int, int)
 
            setshape(int, int, int)
          VehicleData (ShapeBaseData):
            setshape2(int, int, obj)
             dustemitter - object
            setzoomeffect(float)
             exitingwater - object
            shootarrow(int)
             hardimpactsound - object
            shootball()
             impactwatereasy - object
            shootfireball(int)
             impactwaterhard - object
            shootfireblast(int)
             impactwatermedium - object
            shootnuke(int)
             softimpactsound - object
            show()
            waterwakesound - object
            showani(int, float, float, int, str) - returns object
 
            showani2(int, float, float, float, int, str) - returns object
             FlyingVehicleData (VehicleData):
            showcharacter()
              backwardjetemitter - object
            showimg(int, str, float, float) - returns object
              downjetemitter - object
            showimg2(int, str, float, float, float) - returns object
              enginesound - object
            showlocal()
              forwardjetemitter - object
            showpoly(int, obj) - returns object
              jetsound - object
            showpoly2(int, obj) - returns object
              trailemitter - object
            showtext(int, float, float, str, str, str) - returns object
 
            showtext2(int, float, float, float, str, str, str) - returns object
             HoverVehicleData (VehicleData):
            take(str)
              dusttrailemitter - object
            take2(int)
              enginesound - object
            takehorse(int)
              floatsound - object
            throwcarry()
              forwardjetemitter - object
            timereverywhere()
              jetsound - object
            toweapons(str)
 
             WheeledVehicleData (VehicleData):
              enginesound - object
              jetsound - object
              squealsound - object
              tireemitter - object
              wheelimpactsound - object
 
        ShapeBaseImageData (GameBaseData):
          casing - object
          projectile - object
 
        SplashData (GameBaseData):
          explosion - object
          soundprofile - object
 
        TriggerData (GameBaseData):
 
      ParticleData (SimDataBlock):
 
      TSShapeConstructor (SimDataBlock):
 
      WheeledVehicleSpring (SimDataBlock):
 
      WheeledVehicleTire (SimDataBlock):
 
    SimGroup (SimObject):
      addcontrol(obj)
 
      GameConnection (SimGroup):
        account - string (read only)
        nick - string (read only)
        objecttype() - returns string - returns the object type, which can be TGraalVar, TProjectile etc.
 
    Sun (SimObject):
 
  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):
        ani - object (read only)
        aniparams - string (read only)
        anistep - integer (read only)
        attachid - integer (read only)
        attachtype - integer (read only)
        attr - object (read only)
        body - string
        bodyimg - string
        colors - object (read only)
        dir - integer
        head - string
        headimg - string
        shield - string
        sprite - integer
        sword - string
        getimageforsprite(obj) - returns string
        getsprite(str) - returns object
        getspriteforspritepos(obj) - returns object
 
        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):
            TServerWeapon (TServerNPC):
          bombpower - integer
              isweapon - boolean (read only)
          bombs - integer
          bushes - integer
          dir - integer
          type - integer


        TServerPlayer (TGaniObject):
      TServerBomb (TLevelObject):
          account - string (read only)
        power - integer
          ap - integer
        time - float
          attached - boolean (read only)
 
          bombs - integer
      TServerCarry (TLevelObject):
          chat - string
 
          darts - integer
      TServerChest (TLevelObject):
          fullhearts - integer (read only)
        isopen - boolean (read only)
          glovepower - integer
        item - string (read only)
          gralats - integer
 
          guild - string (read only)
      TServerExtra (TLevelObject):
          headimg - string
        time - float (read only)
          headset - integer
        type - integer (read only)
          hearts - float (read only)
 
          horseimg - string (read only)
      TServerFlying (TLevelObject):
          hp - float (read only)
        dir - integer (read only)
          id - integer (read only)
        dx - float
          isadmin - boolean (read only)
        dy - float
          ischannel - boolean (read only)
        from - integer (read only)
          ischannelopen - boolean (read only)
        type - integer (read only)
          ischanneluser - boolean (read only)
 
          isexternal - boolean (read only)
      TServerLeap (TLevelObject):
          isfemale - boolean (read only)
 
          isignoring - boolean (read only)
      TServerSign (TLevelObject):
          isloggedin - boolean (read only)
        text - string
          ismale - boolean (read only)
 
          ismuted - boolean (read only)
      TShowImg (TLevelObject):
          ismuting - boolean (read only)
        alpha - float
          language - string (read only)
        ani - string
          languagedomain - string (read only)
        attachnode - string
          maxhp - integer (read only)
        attachoffset - string
          messagebubble - integer (read only)
        attachtoowner - boolean
          mp - integer
        blue - float
          nick - string
        code - string - the old representation as 'font@style@text'
          platform - string (read only)
        dimension - integer
          playersindex - integer (read only)
        dir - integer
          rupees - integer - better use 'gralats'
        emitter - object (read only)
          shieldimg - string
        eulerrotation - string
          shieldpower - integer (read only)
        flashfile - string
          swordimg - string
        font - string
          swordpower - integer (read only)
        green - float
          x - float
        image - string
          y - float
        imageindex - integer (read only)
          isguildpm() - returns boolean
        is3dlight - boolean
          ismasspm() - returns boolean
        layer - integer
          pmswaiting() - returns boolean
        mode - integer - the image drawing mode (0 - add, 1 - transparent, 2 - subtract)
          showprofile()
        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)
        stretchx - float
        stretchy - float
        style - string
        text - string
        x - float
        y - float
        z - float
        zoom - float


          TPlayer (TServerPlayer):
  TDrawingPanel (TGraalVar):
            ap - integer
    height - integer (read only)
            chat - string
    parth - integer (read only)
            freezetime - float
    partw - integer (read only)
            hearts - float
    partx - integer (read only)
            horseimg - string
    party - integer (read only)
            hp - float
    width - integer (read only)
            hurt - boolean (read only)
    clearall()
            hurtdx - float (read only)
    clearrectangle(int, int, int, int) - x, y, width and height
            hurtdy - float (read only)
    drawimage(int, int, str) - x, y, source image
            hurted - boolean (read only)
    drawimagerectangle(int, int, str, int, int, int, int) - destination x and y, source image, source x,y,width and height
            hurtpower - float (read only)
    drawimagestretched(int, int, int, int, str, int, int, int, int) - destination x,y,width and height, source image, source x,y,width and height
            isfemale - boolean (read only)
            ismale - 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
            sprite - integer
            swimming - boolean (read only)
            swordimg - string
            transform - string
            weapon - object (read only)
            weapons - object (read only)


          TServerNPC (TServerPlayer):
  Terraformer (TGraalVar):
            actionplayer - integer (read only)
    loadgrayscale(int, str) - returns boolean
            hearts - float
    loadgreyscale(int, str) - returns boolean
            height - float (read only)
    savegreyscale(int, str) - returns boolean
            horseimg - string
    setterrain(int) - returns boolean
            hp - float
 
            hurtdx - float
  TFlashInstance (TGraalVar):
            hurtdy - float
    frame - integer
            image - string
    height - float (read only)
            isblocking - boolean
    looping - boolean
            isblockingprojectiles - boolean
    object - string
            layer - integer
    playing - boolean
            npcsindex - integer (read only)
    width - float (read only)
            peltwithblackstone - boolean (read only)
    play()
            peltwithbush - boolean (read only)
    stop()
            peltwithnpc - boolean (read only)
 
            peltwithsign - boolean (read only)
  TFrameDetail (TGraalVar):
            peltwithstone - boolean (read only)
    bordercolor - string
            peltwithvase - boolean (read only)
    borderenable - string
            save - object (read only)
    bordermovable - string
            shieldpower - integer
    borderwidth - integer
            sprite - integer
    minextent - string
            swordpower - integer
 
            visible - boolean
  TGameObjectAttr (TGraalVar):
            width - float (read only)
 
            x - float
  TGaniParam (TGraalVar):
            y - float
 
            blockagain()
  TGraalAni (TGraalVar):
            blockagainlocal()
    continuous - boolean
            canbecarried()
    ganitype - string (read only)
            canbepulled()
    loop - boolean
            canbepushed()
    movie - boolean
            cannotbecarried()
    setbackto - string
            cannotbepulled()
    singledirection - boolean
            cannotbepushed()
    addsprite(int) - returns object
            carryobject(str)
    addstep() - returns object
            changeimgcolors(int, float, float, float, float)
    deletesprite(int)
            changeimgmode(int, int)
    deletestep(int)
            changeimgpart(int, int, int, int, int)
    getsprite(int) - returns object
            changeimgvis(int, int)
    insertstep(int) - returns object
            changeimgzoom(int, float)
 
            destroy()
  TGraalAniPart (TGraalVar):
            dontblock()
    attr - integer
            dontblocklocal()
    dx - integer
            drawaslight()
    dy - integer
            drawoverplayer()
    param - integer
            drawunderplayer()
    sprite - object
            findimg(int) - returns object
 
            hide()
  TGraalAniSound (TGraalVar):
            hideimg(int)
    delay - float
            hideimgs(int, int)
    dx - float
            hidelocal()
    dy - float
            hurt(int)
    sound - string
            lay(str)
 
            message(str)
  TGraalAniSprite (TGraalVar):
            move(float, float, float, int)
    alpha - float
            setbow(str)
    blue - float
            setcharani(str, str)
    description - string
            setchargender(str)
    green - float
            setcoloreffect(float, float, float, float)
    height - integer
            seteffectmode(int)
    image - string
            setimg(str)
    imagetype - string (read only)
            setimgpart(str, int, int, int, int)
    mode - integer
            setshape(int, int, int)
    red - float
            setshape2(int, int, obj)
    rotation - float
            setzoomeffect(float)
    spriteindex - integer
            shootarrow(int)
    stretchx - float
            shootball()
    stretchy - float
            shootfireball(int)
    width - integer
            shootfireblast(int)
    x - integer
            shootnuke(int)
    y - integer
            show()
    zoom - float
            showani(int, float, float, int, str) - returns object
    addattachment() - returns object
            showani2(int, float, float, float, int, str) - returns object
    deleteattachment(int)
            showcharacter()
    insertattachment(int) - returns object
            showimg(int, str, float, float) - returns object
 
            showimg2(int, str, float, float, float) - returns object
  TGraalAniStep (TGraalVar):
            showlocal()
    delay - float
            showpoly(int, obj) - returns object
    addpos(int) - returns object
            showpoly2(int, obj) - returns object
    deletepos(int, int)
            showtext(int, float, float, str, str, str) - returns object
    insertpos(int, int) - returns object
            showtext2(int, float, float, float, str, str, str) - returns object
 
            take(str)
  TGraalSpriteAttachment (TGraalVar):
            take2(int)
    behind - boolean
            takehorse(int)
    dx - integer
            throwcarry()
    dy - integer
            timereverywhere()
    sprite - object
            toweapons(str)


            TServerWeapon (TServerNPC):
  THTTPRequest (TGraalVar):
              isweapon - boolean (read only)
    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)


      TServerBomb (TLevelObject):
  TParticle (TGraalVar):
        power - integer
    angle - float
        time - float
    lifetime - float
    movementvector - string
    sound - string
    speed - float
    spin - float
    zangle - float


      TServerCarry (TLevelObject):
  TParticleEmitter (TGraalVar):
 
    attachposition - boolean
      TServerChest (TLevelObject):
    autorotation - boolean
        isopen - boolean (read only)
    checkbelowterrain - boolean
        item - string (read only)
    clippingbox - string
 
    cliptoscreen - boolean
      TServerExtra (TLevelObject):
    continueafterdestroy - boolean
        time - float (read only)
    currentparticlecount - integer (read only)
        type - 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)


      TServerFlying (TLevelObject):
  TServerLevel (TGraalVar):
        dir - integer (read only)
    compsdead - boolean (read only)
        dx - float
    height - integer (read only)
        dy - float
    isnopkzone - boolean (read only)
        from - integer (read only)
    issparringzone - boolean (read only)
        type - integer (read only)
    nopkzone - boolean (read only) - same like 'isnopkzone'
 
    tilelayercount - integer
      TServerLeap (TLevelObject):
    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)
      TServerSign (TLevelObject):
    getmappartfile(float, float) - returns string
        text - string
    hitcompu(int, int, float, float)
 
    putbomb(int, float, float)
      TShowImg (TLevelObject):
    putcomp(str, float, float)
        alpha - float
    putexplosion(int, float, float)
        ani - string
    putexplosion2(int, int, float, float)
        attachoffset - string
    puthorse(str, float, float)
        attachtoowner - boolean
    putnewcomp(str, float, float, str, int)
        blue - float
    reflectarrow(int)
        code - string - the old representation as 'font@style@text'
    removearrow(int)
        dimension - integer
    removebomb(int)
        dir - integer
    removecompus()
        emitter - object (read only)
    removeexplo(int)
        eulerrotation - string
    removehorse(int)
        font - string
    removeitem(int)
        green - float
    setz(int, int, int, int, float, float, float, float)
        image - string
    shoot(float, float, float, float, float, float, str, str) - shoots a projectile with x,y,z,angle,zangle,strength,ani,aniparams
        imageindex - integer (read only)
    testbomb(float, float) - returns integer
        layer - integer
    testexplo(float, float) - returns integer
        mode - integer - the image drawing mode (0 - add, 1 - transparent, 2 - subtract)
    testhorse(float, float) - returns 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.
    testitem(float, float) - returns integer
        polygon - object
    testnpc(float, float) - returns integer
        red - float
    testsign(float, float) - returns integer
        rotation - float
    tiletype(float, float) - returns integer
        shape - string
 
        stretchx - float
  TServerLevelLink (TGraalVar):
        stretchy - float
    destlevel - string (read only)
        style - string
    destx - float (read only)
        text - string
    desty - float (read only)
        x - float
    height - float (read only)
        y - float
    width - float (read only)
        zoom - float
    x - float (read only)
    y - float (read only)


   TDrawingPanel (TGraalVar):
   TShowImg_Values (TGraalVar):
    height - integer (read only)
     alpha - float
    parth - integer (read only)
     blue - float
    partw - integer (read only)
     green - float
    partx - integer (read only)
     mode - integer - the image drawing mode (0 - add, 1 - transparent, 2 - subtract)
    party - integer (read only)
     red - float
    width - integer (read only)
     rotation - float
    clearall()
     stretchx - float
    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
 
  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
 
  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
     stretchy - float
    width - integer
    x - integer
    y - integer
     zoom - float
     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)
    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)
  TParticle (TGraalVar):
    angle - float
    lifetime - float
    movementvector - string
    sound - string
    speed - float
    spin - 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
    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)
  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)
    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):
    TShowImg_Flash (TShowImg_Values):
    destx - float (read only)
      flash - object (read only)
    desty - float (read only)
    height - float (read only)
    width - float (read only)
    x - float (read only)
    y - float (read only)
 
  TShowImg_Values (TGraalVar):
    alpha - float
    blue - float
    green - float
    mode - integer - the image drawing mode (0 - add, 1 - transparent, 2 - subtract)
    red - float
    rotation - float
    stretchx - float
    stretchy - float
    zoom - float


     TShowImg_Gani (TShowImg_Values):
     TShowImg_Gani (TShowImg_Values):
Line 2,216: Line 1,978:


     TShowImg_Shape (TShowImg_Values):
     TShowImg_Shape (TShowImg_Values):
      mounts - object (read only)
      setshapeanimation(str, float, bool) - returns boolean


     TShowImg_Text (TShowImg_Values):
     TShowImg_Text (TShowImg_Values):
Line 2,224: Line 1,984:
       partx - integer
       partx - integer
       party - integer
       party - integer
 
      shadowcolor - string
  TShowImgMount (TGraalVar):
      shadowoffset - string
    node - integer
      textshadow - boolean
    shape - string


   TStaticVar (TGraalVar):
   TStaticVar (TGraalVar):
Line 2,245: Line 2,004:


   TUpdatePackage (TGraalVar):
   TUpdatePackage (TGraalVar):
    accounts - object (read only)
     description - string (read only)
     description - string (read only)
     downloadcomplete - boolean (read only)
     downloadcomplete - boolean (read only)

Revision as of 20:46, 16 September 2006

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::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::detailfactor - float
  $pref::video::fogdistance - float
  $pref::video::fullscreenmode - string
  $pref::video::screenshotformat - string
  $pref::video::truetypefonts - boolean
  $pref::video::visibledistance - float
  $pref::video::windowmode - string
  $scenelighting::lightingprogress - float (read only)
  allfeatures - integer (read only)
  allplayerscount - integer (read only)
  allstats - integer (read only)
  canspin - boolean (read only)
  carriesblackstone - boolean (read only)
  carriesbush - boolean (read only)
  carriesnpc - boolean (read only)
  carriessign - boolean (read only)
  carriesstone - boolean (read only)
  carriesvase - boolean (read only)
  downloadfile - string (read only)
  downloadpos - integer (read only)
  downloadsize - integer (read only)
  editingmission - boolean
  emoticonchar - string (read only)
  focusx - float (read only)
  focusy - float (read only)
  ghostsnear - boolean (read only)
  graalversion - float (read only)
  gravity - float
  isapplicationactive - boolean (read only)
  iscarrying - boolean (read only)
  isfocused - boolean (read only)
  isgraal3d - boolean (read only)
  isleader - boolean (read only)
  isonmap - boolean (read only)
  lastdownloadfile - string (read only)
  leftmousebutton - boolean (read only)
  leftmousebuttonglobal - boolean (read only)
  levelorgx - float (read only)
  levelorgy - float (read only)
  lighteffectsenabled - boolean
  middlemousebutton - boolean (read only)
  middlemousebuttonglobal - boolean (read only)
  mousebuttons - integer (read only)
  mousebuttonsglobal - integer (read only)
  mousepitch - float (read only)
  mousescreenx - integer
  mousescreeny - integer
  mousewheeldelta - integer (read only)
  mousex - float
  mousey - float
  mouseyaw - float (read only)
  musiclen - integer (read only)
  musicpos - integer (read only)
  particleeffectsenabled - boolean
  rightmousebutton - boolean (read only)
  rightmousebuttonglobal - boolean (read only)
  screenheight - integer (read only)
  screenwidth - integer (read only)
  scriptedcontrols - boolean (read only)
  scriptedplayerlist - boolean (read only)
  scriptlogwritetoreadonly - boolean
  selectedlistplayers - object
  selectedsword - integer
  selectedweapon - integer
  servername - string (read only)
  serverstartconnect - string
  serverstartparams - string
  shotbybaddy - boolean (read only)
  shotbyplayer - boolean (read only)
  showterraingrid - boolean
  timevar - integer (read only)
  timevar2 - float (read only)
  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)
  adventure_installgraal(str, bool, bool)
  adventure_openexternaloptions() - returns boolean
  adventure_openexternalpm(obj) - returns boolean
  adventure_openserverlist()
  adventure_quit()
  adventure_savegraaloptions()
  adventure_selectfileselect(str) - lets the select-file-dialog select the specified filename in the current folder
  adventure_selectfilesetfolder(int) - switches the select-file-dialog to the specified folder index
  adventure_selectfilesetfolderbytext(str) - switches the select-file-dialog to the specified folder name
  adventure_selectfileshowhiddenfiles(bool) - enables or disables the display of hidden files in the select-file-dialog
  adventure_selectpath(str) - returns object
  adventure_setaccountname(str)
  adventure_setchat(str)
  adventure_setcheatwindows(str)
  adventure_setnickname(str)
  adventure_setpassword(str)
  adventure_startbilliard()
  adventure_startfairyland()
  adventure_startofflinemode()
  adventure_updateaccountfield()
  adventure_updatemicroactivationlevel()
  adventure_updatemidivolume()
  adventure_updatemp3volume()
  adventure_updateplayermuted()
  adventure_updateplayerprofile(bool, str, str, int, str, str, str, str, str, str)
  adventure_updateradiovolume()
  aindexof(float, obj) - returns integer
  arccos(float) - returns float
  arcsin(float) - returns float
  attachplayertoobj(int, int)
  base64decode(str) - returns string
  base64encode(str) - returns string
  boxscale(str, str) - returns string
  callnpc(int, params...)
  callweapon(int, params...)
  checksum(str) - returns float
  contains(str, str) - returns boolean
  cursoroff()
  cursoron()
  degtorad(float) - returns float
  detachplayer()
  disabledefmovement()
  disablemap()
  disablepause()
  disableselectweapons()
  disableweapons()
  echo(str)
  enabledefmovement()
  enablefeatures(int)
  enablemap()
  enablepause()
  enableselectweapons()
  enableweapons()
  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
  findfirstfile(str) - returns string
  findlevel(str) - returns object
  findnextfile(str) - returns string
  findnpcbyid(int) - returns object
  findplayer(str) - returns object
  findplayerbyid(int) - returns object
  findweapon(str) - returns object
  freezeplayer(float)
  getanglesfromvector(str) - returns object
  getascii(str) - returns integer
  getbasepackage() - returns object
  getboxcenter(str) - returns string
  getdisplaydevicelist() - returns string
  getdownloadedupdatepackagesize() - returns integer
  getdownloadingpackage() - returns object
  getdownloadingpackagescount() - returns integer
  getextension(str) - returns string
  gethttprequest(str, int, str) - returns object
  getimgheight(str) - returns integer
  getimgpixel(str, int, int) - returns object
  getimgwidth(str) - returns integer
  getkeycode(str) - returns integer
  getmapx(str) - returns integer
  getmapy(str) - returns integer
  getmusicstatus() - returns string
  getmusictags() - returns object
  getpackagesdownloadcomplete() - returns boolean
  getpackagesdownloaded() - returns boolean
  getplatform() - returns string
  getresolutionlist(str) - returns string
  getservername() - returns string
  getstringkeys(str) - returns object
  getsurfacetype(float, float) - returns string
  getterraintexture(float, float) - returns string
  getterraintextureindex(float, float) - returns integer
  gettextheight(float, str, str) - returns integer
  gettextwidth(float, str, str, str) - returns integer
  gettotalupdatepackagesize() - returns integer
  getupdatepackage(str) - returns object
  getvectorfromangles(float, float) - returns string
  getz(float, float) - returns float
  hideplayer(float)
  hidesword(float)
  hitnpc(int, float, float, float)
  hitobjects(float, float, float)
  hitplayer(int, float, float, float)
  isadminguild(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
  isimgpixeltransparent(str, int, int) - returns boolean
  isimgrectangletransparent(str, int, int, int, int) - returns boolean
  isobject(str) - returns boolean
  keydown(int) - returns boolean
  keydown2(int, bool) - returns boolean
  keyname(int) - returns string
  lay2(str, float, float)
  lightscene() - returns boolean
  loadmap(str)
  lowercase(str) - returns string
  ltmfs(bool)
  ltmmax(float, float)
  ltmmin(float, float)
  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
  requestmysql(str, str, str, str, 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
  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)
  setminimap(str, str, float, float)
  setmusicvolume(float, float)
  setplayerdir(str)
  setshield(str, int)
  setshoecolor(str)
  setshootparams(str)
  setskincolor(str)
  setskybandcolors(obj)
  setskybandsizes(obj)
  setsleevecolor(str)
  setsuncolors(obj)
  setsword(str, int)
  setterrainrendermode(int)
  showstats(int)
  spyfire(int, int)
  stopmidi()
  stopsound(str)
  strcmp(str, str) - returns integer
  strequals(str, str) - returns boolean
  synctimeofday(float, float)
  takeplayercarry()
  takeplayerhorse()
  testplayer(float, float) - returns integer
  triggeraction(float, float, str, params...)
  triggerserver(str, str)
  update3dterrain(float, float, float, float)
  updateboard(int, int, int, int)
  updateratings(obj) - returns object - updates an array of {rating1,ratingdeviation1, rating2,ratingdeviation2, ...}, init them at 1500 and 350
  updateterrain()
  updatevisibledistance()
  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
  joinedclasses - object
  name - string (read only)
  scriptlogmissingfunctions - boolean
  timeout - float
  addarray(obj) - adds another array to this variable
  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)
  copyfrom(obj) - copies all variables and array values from another object, doesn't work for protected variables like players though
  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
  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 float - 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
  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
  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
  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 a timeout event after the specified time, similar to 'timeout=value'
  sortascending() - sorts the array in ascending order (smallest value first)
  sortbyvalue(str, str, bool) - sorts the array by the specified variable name, you must also say what variable type it is (e.g. string) and if it should be sorted ascending
  sortdescending() - sorts the array in descending order (highest value first)
  timershow() - lets the npc show the 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
    sequence - string
    startpos - float
    state - string
    timescale - float
    transtitiontime - float
    play()

  GameMovementInterpolate (TGraalVar):
    applyimpulse(str, str)

    GameMovementRigid (GameMovementInterpolate):

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

  GameShape (TGraalVar):
    pixelshader - string
    vertexshader - string

    GameShapeDIF (GameShape):
      showterraininside - boolean
      activatelight(str)
      deactivatelight(str)

    GameShapeDTS (GameShape):
      getanimation(int) - returns object
      listnodes() - returns object
      pauseanimation(int)
      playanimation(int, str, int) - returns object
      playanimation2(int, str, int, float, float, float, float) - returns object
      stopanimation(int)

    GameShapeFT (GameShape):
      levels - integer
      seed - integer

  GuiControl (TGraalVar):
    active - boolean
    awake - boolean (read only)
    canmove - boolean
    canresize - boolean
    editing - boolean
    extent - string
    height - integer
    hint - string
    horizsizing - string
    layer - integer (read only)
    minextent - string
    minsize - string - the same like "minExtent"
    parent - object (read only)
    position - string
    profile - object
    resizeheight - boolean
    resizewidth - boolean
    scrolllinex - integer
    scrollliney - integer
    showhint - boolean
    useownprofile - boolean
    vertsizing - string
    visible - boolean
    width - integer
    x - integer
    y - integer
    addcontrol(obj)
    bringtofront()
    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()

    GuiBackgroundCtrl (GuiControl):

    GuiBitmapBorderCtrl (GuiControl):
      tile - boolean

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

    GuiBitmapCtrl (GuiControl):
      bitmap - string
      wrap - boolean
      setbitmap(str)
      setvalue(int, int)

      GuiMapOverviewCtrl (GuiBitmapCtrl):
        mapalpha - float
        pointsize - float

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

      GuiBorderButtonCtrl (GuiButtonBaseCtrl):

      GuiButtonCtrl (GuiButtonBaseCtrl):
        seticonsize(int, int)

      GuiCheckBoxCtrl (GuiButtonBaseCtrl):

        GuiRadioCtrl (GuiCheckBoxCtrl):

    GuiChunkedBitmapCtrl (GuiControl):
      bitmap - string
      tile - boolean

    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)
      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)
      removerow(int)
      removerowbyid(int)
      rowcount() - returns integer
      seticonsize(int, int)
      setrowactivebyid(int, bool)
      setrowbyid(int, str)
      setselectedbyid(int)
      setselectedbytext(str)
      setselectedrow(int)
      sort()

    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)

    GuiFlash (GuiControl):
      backgroundalpha - float
      loopmovie - boolean
      moviename - string
      requiresactivex - boolean
      tryactivex - boolean
      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):

    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
      maxchars - integer
      parsetags - boolean
      syntaxhighlighting - boolean
      text - 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(int)
      scrolltotop()
      setlines(obj)
      settext(str)

      GuiMLTextEditCtrl (GuiMLTextCtrl):

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

      GuiPMCtrl (GuiMLTextCtrl):
        showpm(obj)

      GuiPMHistoryCtrl (GuiMLTextCtrl):
        showhistory(obj)

    GuiMouseEventCtrl (GuiControl):
      lockmouse - boolean

    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)
      scrollto(int, int)

    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)
      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)
      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)
      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)

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

      GuiBubbleTextCtrl (GuiTextCtrl):

      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
        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)
        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)
        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()

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

      GuiWindowCtrl (GuiTextCtrl):
        canclose - boolean
        canmaximize - boolean
        canminimize - boolean
        closequery - boolean
        destroyonhide - boolean
        extent - string
        maximized - boolean
        minimized - boolean
        tile - 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
    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

  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
    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()

  MRandomGenerator (TGraalVar):
    seed - integer
    destroy()
    randfloat() - returns float
    randint() - returns integer

    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):

      GameObject (SceneObject):
        alpha - float
        attr - object
        attrobjects - object (read only)
        chat - string
        iseditorobject - boolean
        liquidheight - float (read only)
        liquidtype - string (read only)
        movetype - string
        nickcolor - string
        nickname - string
        scaledshapebox - string (read only)
        shape - string
        shapebox - string (read only)
        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
        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)
        ismounted() - returns boolean
        mountobject(obj, int) - returns boolean
        setdirection(str)
        unmount()
        unmountobject(obj) - returns boolean

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

        DynamicShapeReplicator (GameObject):
          boxmax - string
          boxmin - string
          maxgridobjects - integer
          mingridobjects - integer
          radius - integer
          shapefiles - string
          surfacetype - string

          DynamicGrass (DynamicShapeReplicator):

          DynamicGrassReplicator (DynamicShapeReplicator):

      Sky (SceneObject):
        materiallist - string
        skyfadetime - float
        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):
        bumpoffset - float
        bumpscale - float
        bumptexture - string
        squaresize - integer
        terrainfile - string
        zerobumpscale - integer

      twSurfaceReference (SceneObject):

      WaterBlock (SceneObject):
        density - float
        depthgradient - float
        distortgridscale - float
        distortmag - float
        distorttime - float
        envmapintensity - float
        envmapovertexture - string
        envmapundertexture - string
        flowangle - float
        flowrate - float
        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)
        nick - string (read only)
        objecttype() - returns string - returns the object type, which can be TGraalVar, TProjectile etc.

    Sun (SimObject):

  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):
        ani - object (read only)
        aniparams - string (read only)
        anistep - integer (read only)
        attachid - integer (read only)
        attachtype - integer (read only)
        attr - object (read only)
        body - string
        bodyimg - string
        colors - object (read only)
        dir - integer
        gmap - object (read only)
        head - string
        headimg - string
        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

        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)
          bombs - integer
          chat - string
          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)
          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
          shieldpower - integer (read only)
          swordimg - string
          swordpower - integer (read only)
          x - float
          y - float
          isguildpm() - returns boolean
          ismasspm() - returns boolean
          openexternalhistory() - returns boolean
          openexternalpm(bool) - returns boolean
          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)
            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
            sprite - integer
            swimming - boolean (read only)
            swordimg - string
            transform - string
            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)
            setcoloreffect(float, float, float, float)
            seteffectmode(int)
            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()
            toweapons(str)

            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)
        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)
        stretchx - float
        stretchy - float
        style - string
        text - string
        x - float
        y - float
        z - float
        zoom - float

  TDrawingPanel (TGraalVar):
    height - integer (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

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

  TFlashInstance (TGraalVar):
    frame - integer
    height - float (read only)
    looping - boolean
    object - string
    playing - boolean
    width - float (read only)
    play()
    stop()

  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)

  TParticle (TGraalVar):
    angle - float
    lifetime - float
    movementvector - string
    sound - string
    speed - float
    spin - 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)

  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)

  TShowImg_Values (TGraalVar):
    alpha - float
    blue - float
    green - float
    mode - integer - the image drawing mode (0 - add, 1 - transparent, 2 - subtract)
    red - float
    rotation - 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_Shape (TShowImg_Values):

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

  TStaticVar (TGraalVar):
    destroy()

  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