Creation/Dev/Script Functions: Client

From Graal Bible
Revision as of 19:37, 1 March 2005 by Evil (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Script functions:

Global:
  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)
  graalversion - float (read only)
  gravity - float
  iscarrying - boolean (read only)
  isfocused - boolean (read only)
  isgraal3d - boolean (read only)
  isleader - boolean (read only)
  isonmap - boolean (read only)
  leftmousebutton - boolean (read only)
  levelorgx - float (read only)
  levelorgy - float (read only)
  lighteffectsenabled - boolean (read only)
  middlemousebutton - boolean (read only)
  mousebuttons - integer (read only)
  mousescreenx - integer
  mousescreeny - integer
  mousewheeldelta - integer (read only)
  mousex - float
  mousey - float
  musiclen - integer (read only)
  musicpos - integer (read only)
  rightmousebutton - boolean (read only)
  screenheight - integer (read only)
  screenwidth - integer (read only)
  selectedsword - integer
  selectedweapon - integer
  shotbybaddy - boolean (read only)
  shotbyplayer - boolean (read only)
  timevar - integer (read only)
  timevar2 - float (read only)
  wasshooted - boolean (read only)
  waterheight - float
  weapons - object (read only)
  weaponsenabled - boolean
  worldclockstopped - boolean
  worldhour - integer
  worldminute - float
  worldminutesofday - float
  worldrealsecondsperday - float
  addcontrol(obj)
  addtiledef(str, str, int)
  addtiledef2(str, str, int, int)
  aindexof(float, obj) - returns integer
  attachplayertoobj(int, int)
  callnpc(int, params...)
  callweapon(int, params...)
  commandtoserver(str)
  contains(str, str) - returns boolean
  cursoroff()
  cursoron()
  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
  findfirstfile(str) - returns string
  findnextfile(str) - returns string
  findplayer(str) - returns object
  findplayerbyid(int) - returns object
  findweapon(str) - returns object
  freezeplayer(float)
  getascii(str) - returns integer
  getboxcenter(str) - returns string
  getdatablocktypes() - returns object
  getextension(str) - returns string
  getimgheight(str) - returns integer
  getimgwidth(str) - returns integer
  getkeycode(str) - returns integer
  getmapx(str) - returns integer
  getmapy(str) - returns integer
  getobjectat(float, float) - returns object
  getobjectatmouse() - returns object
  getobjectbyray(str, str) - returns object
  getstringkeys(str) - returns object
  getsurfacetype(float, float) - returns string
  gettextheight(float, str, str) - returns integer
  gettextwidth(float, str, str, str) - returns integer
  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
  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)
  mapshapeanimation(str, str, str, float) - returns boolean
  matrixcreate(str, str) - returns string
  matrixcreatefromeuler(str) - returns string
  matrixmulpoint(str, str) - returns string
  matrixmultiply(str, str) - returns string
  matrixmulvector(str, 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
  openurl(str)
  openurl2(str, int, int)
  play(str)
  play2(str, float, float, float)
  playlooped(str)
  popdialog()
  pushdialog(obj)
  putleaps(int, float, float)
  reloadfile(str)
  removetiledefs(str)
  replaceani(str, str)
  requestfiledeletion(str)
  requestfilerename(str, str)
  requestfilesmove(str, str)
  requesttext(str, str)
  resetfocus()
  savelog(str)
  say(int)
  say2(str)
  screenx(float, float) - returns integer
  screeny(float, float) - returns integer
  selectfilefordownload(str)
  selectfileforupload()
  sendrpgmessage(str)
  sendtext(str, str, obj)
  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)
  setinteriorfocuseddebug(int)
  setinteriorrendermode(int)
  setletters(str)
  setmap(str, str, float, float)
  setminimap(str, str, float, float)
  setmusicvolume(float, float)
  setplayerdir(str)
  setshadowdetaillevel(float)
  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)
  strequals(str, str) - returns boolean
  synctimeofday(float, float)
  takeplayercarry()
  takeplayerhorse()
  testplayer(float, float) - returns integer
  tiletype(float, float) - returns integer
  triggeraction(float, float, str, params...)
  triggerserver(str, str, str)
  updateboard(int, int, int, int)
  updateterrain()
  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)
  joinedclasses - object (read only)
  name - string (read only)
  scriptlogmissingfunctions - boolean
  timeout - float
  addarray(obj)
  cancelevents(str)
  catchevent(str, str, str)
  copyfrom(obj)
  getdatablockvars() - returns object
  getdynamicvarnames() - returns object
  geteditvarnames() - returns object
  getfunctions() - returns object
  getstaticvarnames() - returns object
  getvarnames() - returns object
  ignoreevent(str, str)
  ignoreevents(str)
  insertarray(int, obj)
  isinclass(str) - returns float
  loadfolder(str, int)
  loadlines(str)
  loadstring(str)
  loadvars(str)
  objecttype() - returns string
  savelines(str, int)
  savestring(str, int)
  savevars(str, int)
  scheduleevent(float, str, params...) - returns object
  settimer(float)
  sortascending()
  timershow()
  trigger(str, params...)

  GuiTextListEntry (TGraalVar):
    active - boolean
    flickering - boolean
    id - integer
    image - integer
    selectedimage - integer
    sortgroup - integer
    sortvalue - integer
    text - string
    gettext() - returns string
    settext(str)

  GuiTreeViewNode (TGraalVar):
    expanded - boolean
    image - integer
    level - integer (read only)
    name - string
    parent - object (read only)
    selectedimage - integer
    sortgroup - integer
    sortvalue - integer
    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

  MissionArea (TGraalVar):

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

  ShapeImageState (TGraalVar):
    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):

    GuiControlProfile (SimObject):
      autosizeheight - boolean
      autosizewidth - boolean
      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
      fonttype - string
      justify - string
      linespacing - integer
      modal - boolean
      mouseoverselected - boolean
      numbersonly - boolean
      opaque - boolean
      returntab - boolean
      soundbuttondown - string
      soundbuttonover - string
      tab - boolean
      textoffset - string
      transparency - float

    GuiCursor (SimObject):

    SceneObject (SimObject):
      forwardvector - string
      objectbox - string (read only)
      position - string
      rightvector - string
      rotation - string
      scale - string
      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)

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

      FractalTree (SceneObject):
        deffile - string
        levels - integer
        seed - integer

      GameBase (SceneObject):
        datablock - object

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

          DynamicGrass (DynamicShapeReplicator):

          DynamicGrassReplicator (DynamicShapeReplicator):

        Explosion (GameBase):
          datablock - object

        Lightning (GameBase):
          strikesperminute - integer

        ParticleEmitter (GameBase):

        ParticleEmitterNode (GameBase):
          datablock - object
          emitter - object

        PathedInterior (GameBase):

        Precipitation (GameBase):
          maxmass - float
          maxspeed - float
          minmass - float
          minspeed - float
          percentage - float

        Projectile (GameBase):
          datablock - object
          initialposition - string
          initialvelocity - string
          sourceobject - object

        ShapeBase (GameBase):
          chat - string
          datablock - object
          shapenamecolor - string
          applydamage(float)
          applyimpulse(str, str) - returns boolean
          applyrepair(float)
          cancloak() - returns string
          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

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

            FlyingVehicle (Vehicle):
              datablock - object

            HoverVehicle (Vehicle):
              datablock - object

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

              AIWheeledVehicle (WheeledVehicle):
                getmovedestination() - returns string
                setmovedestination(str, bool)
                setmovespeed(float)
                setmovetolerance(float)
                stop()

        SpawnSphere (GameBase):
          indoorweight - float
          outdoorweight - float
          radius - float
          sphereweight - float

        Splash (GameBase):

        TSStatic (GameBase):
          noshadowlevel - float
          onlyambientlight - boolean

          Item (TSStatic):
            datablock - object
            hide()
            show()
            startfade(float, float, bool)

        Trigger (GameBase):
          datablock - object

        fxLight (GameBase):
          datablock - object

      InteriorInstance (SceneObject):
        audioenvironment - object
        audioprofile - object
        interiorfile - string
        showterraininside - boolean

      Marker (SceneObject):

      Shape3ds (SceneObject):

      Sky (SceneObject):
        materiallist - string
        skyfadetime - float
        windvelocity - string

      TerrainBlock (SceneObject):
        bumpoffset - float
        bumpscale - float
        bumptexture - string
        detailtexture - string
        squaresize - integer
        terrainfile - string
        zerobumpscale - integer

      WaterBlock (SceneObject):
        audioenvironment - object
        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

      fxFoliageReplicator (SceneObject):

      fxGrassReplicator (SceneObject):

      fxShapeReplicator (SceneObject):

      fxSunLight (SceneObject):

      twSurfaceReference (SceneObject):

      volumeLight (SceneObject):

    SimDataBlock (SimObject):
      isdatablock - boolean (read only)

      AudioDescription (SimDataBlock):

      AudioProfile (SimDataBlock):
        description - object
        environment - object

      DecalData (SimDataBlock):
        lifetime - float

      GameBaseData (SimDataBlock):

        DebrisData (GameBaseData):
          explosion - object

        ExplosionData (GameBaseData):
          debris - object
          particleemitter - object
          soundprofile - object

        ItemData (GameBaseData):

        LightningData (GameBaseData):
          strikesound - object

        ParticleEmitterData (GameBaseData):
          particles - string

        ParticleEmitterNodeData (GameBaseData):

        PathedInteriorData (GameBaseData):
          startsound - object
          stopsound - object
          sustainsound - object

        PrecipitationData (GameBaseData):
          soundprofile - object

        ProjectileData (GameBaseData):
          armingdelay - integer
          bounceelasticity - float
          bouncefriction - float
          explosion - object
          fadedelay - integer
          gravitymod - float
          lifetime - integer
          lightradius - float
          muzzlevelocity - float
          particleemitter - object
          velinheritfactor - float

        ShapeBaseData (GameBaseData):
          debris - object
          explosion - object
          noshadowlevel - float
          onlyambientlight - boolean
          showhitboxes - boolean
          underwaterexplosion - object

          AdvancedCameraData (ShapeBaseData):

          CameraData (ShapeBaseData):

          MissionMarkerData (ShapeBaseData):

          PlayerData (ShapeBaseData):
            decaldata - object
            dustemitter - object
            exitingwater - object
            footbubblessound - object
            foothardsound - object
            footmetalsound - object
            footpuffemitter - object
            footshallowsound - object
            footsnowsound - object
            footsoftsound - object
            footunderwatersound - object
            footwadingsound - object
            impacthardsound - object
            impactmetalsound - object
            impactsnowsound - object
            impactsoftsound - object
            impactwatereasy - object
            impactwaterhard - object
            impactwatermedium - object
            jumpingsound - object
            movingbubblessound - object
            splash - object
            waterbreathsound - object

          StaticShapeData (ShapeBaseData):

          VehicleData (ShapeBaseData):
            dustemitter - object
            exitingwater - object
            hardimpactsound - object
            impactwatereasy - object
            impactwaterhard - object
            impactwatermedium - object
            softimpactsound - object
            waterwakesound - object

            FlyingVehicleData (VehicleData):
              backwardjetemitter - object
              downjetemitter - object
              enginesound - object
              forwardjetemitter - object
              jetsound - object
              trailemitter - object

            HoverVehicleData (VehicleData):
              dusttrailemitter - object
              enginesound - object
              floatsound - object
              forwardjetemitter - object
              jetsound - object

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

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

      GuiControl (SimGroup):
        canmove - boolean
        canresize - boolean
        controls - object (read only)
        editing - boolean
        extent - string
        height - integer
        hint - string
        horizsizing - string
        layer - integer (read only)
        minextent - string
        minsize - string
        position - string
        profile - string
        resizeheight - boolean
        resizewidth - boolean
        showhint - boolean
        vertsizing - string
        visible - boolean
        width - integer
        x - integer
        y - integer
        addcontrol(obj)
        bringtofront()
        destroy()
        getparent() - returns object
        hide()
        makefirstresponder(bool)
        pushtoback()
        resize(int, int, int, int)
        show()

        EditManager (GuiControl):

        GuiArrayCtrl (GuiControl):

          CreatorTree (GuiArrayCtrl):
            clearnodes()
            getnodename(int) - returns string
            getnodevalue(int) - returns string
            getparentnode(int) - returns integer
            getselectednode() - returns integer
            isgroupnode(int) - returns 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)
            clearrows()
            clearselection()
            findtext(str) - returns integer
            findtextid(str) - returns integer
            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)
            makevisible(int)
            makevisiblebyid(int)
            removerow(int)
            removerowbyid(int)
            rowcount() - returns integer
            seticonsize(int, int)
            setselectedbyid(int)
            setselectedrow(int)
            sort()

          GuiTreeViewCtrl (GuiArrayCtrl):
            allowmultipleselections - boolean
            fitparentwidth - boolean
            groupsortorder - string
            nodes - object (read only)
            sortmode - string
            sortorder - string
            getnodeat(int, int) - returns object
            getselectednode() - returns object
            seticonsize(int, int)
            sort()

        GuiBackgroundCtrl (GuiControl):

        GuiBitmapBorderCtrl (GuiControl):
          tile - boolean

        GuiBitmapButtonCtrl (GuiControl):
          mouseoverbitmap - object (read only)
          normalbitmap - object (read only)
          pressedbitmap - object (read only)
          text - string

        GuiBitmapCtrl (GuiControl):
          bitmap - object (read only)
          wrap - boolean
          setbitmap(str)
          setvalue(int, int)

          GuiCrossHairHud (GuiBitmapCtrl):

          GuiMapOverviewCtrl (GuiBitmapCtrl):

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

          GuiBorderButtonCtrl (GuiButtonBaseCtrl):

          GuiButtonCtrl (GuiButtonBaseCtrl):

          GuiCheckBoxCtrl (GuiButtonBaseCtrl):

            GuiRadioCtrl (GuiCheckBoxCtrl):

        GuiContextMenuCtrl (GuiControl):
          profile - string
          rows - object (read only)
          scrollprofile - string
          textprofile - string
          width - integer
          close()
          open(int, int)

        GuiDrawingPanel (GuiControl):
          locked - boolean
          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)
          lock()
          unlock()

        GuiFilterCtrl (GuiControl):
          controlpoints - integer

        GuiFrameSetCtrl (GuiControl):

        GuiInputCtrl (GuiControl):

        GuiInspector (GuiControl):

        GuiMLTextCtrl (GuiControl):
          allowcolorchars - boolean
          alpha - float
          deniedsound - string
          maxchars - integer
          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)

        GuiMenuBar (GuiControl):
          addmenu(str, int)
          addmenuitem(str, str, int, str, int)
          clearmenuitems(str)
          clearmenus()
          removemenu(str)
          removemenuitem(str, str)
          setmenuitembitmap(str, str, int)
          setmenuitemchecked(str, str, bool)
          setmenuitemenable(str, str, bool)
          setmenuitemtext(str, str, str)
          setmenuitemvisible(str, str, bool)
          setmenutext(str, str)
          setmenuvisible(str, bool)

        GuiMessageVectorCtrl (GuiControl):

        GuiMouseEventCtrl (GuiControl):
          lockmouse - boolean

        GuiPlayerView (GuiControl):
          ambientcolor - string
          cameraz - float
          lightcolor - string
          lightdirection - string
          modelrotx - float
          modelrotz - float
          mountshape(int, int, str, str) - returns boolean
          setmodel(str, str, str)
          unmountshape(int)

        GuiProgressCtrl (GuiControl):
          progress - float

        GuiScrollCtrl (GuiControl):
          childmargin - string
          constantthumbheight - boolean
          hscrollbar - string
          tile - boolean
          vscrollbar - string
          wheelscrolllines - integer
          willfirstrespond - boolean

        GuiShapeNameHud (GuiControl):
          alignbottom - boolean
          chatprofile - string
          damagealignbottom - boolean
          damageoffset - string
          damagetimeout - float
          useshapesize - boolean
          verticaldamageoffset - float

        GuiShowImgCtrl (GuiControl):
          ani - string
          dir - integer
          layer - integer
          offsetx - integer
          offsety - integer

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

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

          GuiBubbleTextCtrl (GuiTextCtrl):

          GuiPopUpMenuCtrl (GuiTextCtrl):
            maxpopupheight - integer
            addtext(str, int)
            findtext(str) - returns integer
            forceclose()
            forceonaction()
            getselected() - returns integer
            rowcount() - returns integer
            setselected(int)

          GuiTextEditCtrl (GuiTextCtrl):
            deniedsound - string
            historysize - integer
            password - boolean
            tabcomplete - boolean

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

          GuiWindowCtrl (GuiTextCtrl):
            canclose - boolean
            canmaximize - boolean
            canminimize - boolean
            closequery - boolean
            destroyonhide - boolean
            tile - boolean

        TerrainEditor (GuiControl):
          getterrainmaterials() - returns object
          setterrainmaterials(str)

        WorldEditor (GuiControl):
          automaticsync - boolean
          clearignorelist()
          getselectedobject(int) - returns object
          getselectionsize() - returns integer
          ignoreobjclass(str)

    Sun (SimObject):

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

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

    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)
        anistep - integer (read only)
        attachid - integer (read only)
        attachtype - integer (read only)
        attr - object (read only)
        bodyimg - string
        colors - object (read only)
        dir - integer
        headimg - string
        sprite - integer
        getimageforsprite(obj) - returns object
        getsprite(str) - returns object
        getspriteforspritepos(obj) - returns object

        TProjectile (TGaniObject):

        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)
          isfemale - boolean (read only)
          ismale - boolean (read only)
          maxhp - integer (read only)
          messagebubble - integer (read only)
          mp - integer
          nick - string
          rupees - integer - better use 'gralats'
          shieldimg - string
          shieldpower - integer (read only)
          swordimg - string
          swordpower - integer (read only)
          x - float
          y - float
          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)
            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
            layer - integer
            peltwithblackstone - boolean (read only)
            peltwithbush - boolean (read only)
            peltwithnpc - boolean (read only)
            peltwithsign - boolean (read only)
            peltwithstone - boolean (read only)
            peltwithvase - boolean (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)
            showani2(int, float, float, float, int, str)
            showcharacter()
            showimg(int, str, float, float)
            showimg2(int, str, float, float, float)
            showlocal()
            showpoly(int, obj)
            showpoly2(int, obj)
            showtext(int, float, float, str, str, str)
            showtext2(int, float, float, float, str, str, str)
            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):
        actor - object (read only)
        alpha - float
        ani - string
        blue - float
        code - string - the old representation as 'font@style@text'
        dimension - integer
        dir - integer
        eulerrotation - string
        font - string
        green - float
        height - float
        image - string
        imageindex - integer (read only)
        layer - integer
        mode - integer - the image drawing mode (0 - add, 1 - transparent, 2 - subtract)
        mounts - object (read only)
        parth - integer
        partw - integer
        partx - integer
        party - 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
        red - float
        shape - string
        style - string
        text - string
        width - float
        x - float
        y - float
        zoom - float
        setshapeanimation(str, float, bool) - returns boolean

    TSurfaceOwner (TDrawableObject):
      height - integer (read only)
      width - integer (read only)

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

  TDrawingPanel (TGraalVar):
    height - integer (read only)
    locked - boolean
    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)
    drawimage(int, int, str)
    drawimagerectangle(int, int, str, int, int, int, int)
    drawimagestretched(int, int, int, int, str, int, int, int, int)
    lock()
    unlock()

  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
    spriteindex - integer
    surface - object (read only)
    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

  TServerLevel (TGraalVar):
    compsdead - boolean (read only)
    isnopkzone - boolean (read only)
    issparringzone - boolean (read only)
    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)
    putnpc(str, str, float, float)
    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)
    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

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

  TShowImgMount (TGraalVar):
    node - integer
    shape - string