Creation/Dev/Script/Clientside Functions Continued

From Graal Bible
     GuiMLTextEditCtrl (GuiMLTextCtrl):
       autoindenting - boolean - when pressing the return key, then it's automatically inserting the same number of spaces in front of the new line as in the previous line
       tabspaces - integer - when the user presses the tab key then this number of spaces are inserted, by default the tab key is ignored
       GuiPMEditCtrl (GuiMLTextEditCtrl):
         clear()
         sendmasspm(obj)
         sendpm(obj)
     GuiPMCtrl (GuiMLTextCtrl):
       addpm(obj) - adds the received pm from the specified player to the text of this control
       clear()
       showpm(obj) - replaces the text with the received pm from this player
     GuiPMHistoryCtrl (GuiMLTextCtrl):
       showhistory(obj)
   GuiPlayerView (GuiControl):
     ambientcolor - string
     cameraz - float
     lightcolor - string
     lightdirection - string
     modelrotx - float
     modelrotz - float
     shape - string
     shapeobject - object [R]
   GuiProgressCtrl (GuiControl):
     progress - float
   GuiScrollCtrl (GuiControl):
     childmargin - string
     constantthumbheight - boolean
     hscrollbar - string
     scrollpos - string
     tile - boolean
     vscrollbar - string
     wheelscrolllines - integer
     willfirstrespond - boolean
     scrolldelta(int, int)
     scrollrectvisible(int, int, int, int)
     scrollto(int, int)
     scrolltobottom() - scrolls to the button, simply calls scrollto(0, 0x7fffffff)
     scrolltotop() - scrolls to the top, simply calls scrollto(0, 0)
   GuiShapeNameHud (GuiControl):
     alignbottom - boolean
     chatprofile - string
     damagealignbottom - boolean
     damageoffset - string
     damagetimeout - float
     distancefade - float
     fillcolor - string
     framecolor - string
     maxdistance - float
     showfill - boolean
     showframe - boolean
     useshapesize - boolean
     verticaldamageoffset - float
     verticaloffset - float
   GuiShowImgCtrl (GuiControl):
     alpha - float
     ani - string
     ani - string
     attachnode - string
     attachoffset - string
     attachtoowner - boolean
     blue - float
     code - string - the old representation as 'font@style@text'
     dimension - integer
     dir - integer
     dir - integer
     emitter - object [R]
     eulerrotation - string
     flashfile - string
     font - string
     green - float
     image - string
     imageindex - integer [R]
     is3dlight - boolean
     layer - integer
     layer - integer
     mode - integer - the image drawing mode (0 - add, 1 - transparent, 2 - subtract, 3 - daynight)
     offsetx - integer
     offsety - integer
     playerlook - boolean - if the animation should take it's head, body, sword, shield and attr[] from the owner (playerlook), set this to false if you want to set the images yourself by changing showimg.actor.head etc.
     polygon - object
     position - string
     red - float
     rotation - float
     shape - string
     shapeobject - object [R]
     spin - float
     stretchx - float
     stretchy - float
     style - string
     text - string
     x - float
     y - float
     z - float
     zoom - float
   GuiSliderCtrl (GuiControl):
     range - string
     ticks - integer
     value - float
   GuiStretchCtrl (GuiControl):
     clientextent - integer
     clientheight - integer
     clientwidth - integer
   GuiTabCtrl (GuiControl):
     iconheight - integer [R]
     iconwidth - integer [R]
     leveling - integer
     maxvisibletabs - integer [R]
     overlapwidth - integer
     selected - object [R]
     tabwidth - integer
     addrow(int, str) - returns object - the added row
     clearrows()
     clearselection()
     findtext(str) - returns integer - row index
     findtextid(str) - returns integer - row id
     getrowatpoint(int, int) - returns integer - row index
     getrowidatpoint(int, int) - returns integer - row id
     getrownumbyid(int) - returns integer
     getselectedid() - returns integer - row id
     getselectedrow() - returns integer - row index
     getselectedtext() - returns string
     insertrow(int, int, str) - returns object - the inserted row
     isidselected(int) - returns boolean
     isrowselected(int) - returns boolean
     makevisible(int)
     makevisiblebyid(int)
     removerow(int)
     removerowbyid(int)
     rowcount() - returns integer
     seticonsize(int, int)
     setselectedbyid(int)
     setselectedrow(int)
   GuiTaskbar (GuiControl):
   GuiTextCtrl (GuiControl):
     text - string
     gettext() - returns string
     settext(str)
     GuiPopUpEditCtrl (GuiTextCtrl):
       clipcolumntext - boolean
       columns - string - of format "0 16", offset of the tabulators
       enumerate - boolean
       fitparentwidth - boolean
       groupsortorder - string
       iconheight - integer [R]
       iconwidth - integer [R]
       maxpopupheight - integer
       maxpopupheight - integer
       profile - object
       resizecell - boolean
       rows - object [R]
       scrollprofile - object
       selected - object [R]
       sortcolumn - integer
       sortmode - string
       sortorder - string
       textprofile - object
       width - integer
       addrow(int, str) - returns object - the added row
       addtext(str, int) - deprecated, use addRow() instead
       clearrows()
       clearselection()
       close()
       findtext(str) - returns integer
       findtext(str) - returns integer - row index
       findtextid(str) - returns integer - row id
       forceclose()
       forceonaction()
       getrowatpoint(int, int) - returns integer - row index
       getrowidatpoint(int, int) - returns integer - row id
       getrownumbyid(int) - returns integer
       getselected() - returns integer
       getselectedid() - returns integer - row id
       getselectedids() - returns object - array of row ids
       getselectedrow() - returns integer - row index
       getselectedrows() - returns object - array of row indices
       getselectedtext() - returns string
       insertrow(int, int, str) - returns object - the inserted row
       isidselected(int) - returns boolean
       isopen() - returns boolean
       isrowselected(int) - returns boolean
       makevisible(int)
       makevisiblebyid(int)
       open(int, int) - opens the menu at the specified screen position, if possible use openAtMouse() instead
       openatmouse()
       removerow(int)
       removerowbyid(int)
       rowcount() - returns integer
       rowcount() - returns integer
       seticonsize(int, int)
       setrowactivebyid(int, bool)
       setrowbyid(int, str)
       setselected(int)
       setselectedbyid(int)
       setselectedbytext(str)
       setselectedbytext(str)
       setselectedrow(int)
       sort()
     GuiPopUpMenuCtrl (GuiTextCtrl):
       clipcolumntext - boolean
       columns - string - of format "0 16", offset of the tabulators
       enumerate - boolean
       fitparentwidth - boolean
       groupsortorder - string
       iconheight - integer [R]
       iconwidth - integer [R]
       maxpopupheight - integer
       profile - object
       resizecell - boolean
       rows - object [R]
       rows - object [R]
       scrollprofile - object
       selected - object [R]
       sortcolumn - integer
       sortmode - string
       sortorder - string
       textprofile - object
       width - integer
       addrow(int, str) - returns object - the added row
       addtext(str, int) - deprecated, use addRow() instead
       clearrows()
       clearselection()
       close()
       findtext(str) - returns integer
       findtext(str) - returns integer - row index
       findtextid(str) - returns integer - row id
       forceclose()
       forceonaction()
       getrowatpoint(int, int) - returns integer - row index
       getrowidatpoint(int, int) - returns integer - row id
       getrownumbyid(int) - returns integer
       getselected() - returns integer
       getselectedid() - returns integer - row id
       getselectedids() - returns object - array of row ids
       getselectedrow() - returns integer - row index
       getselectedrows() - returns object - array of row indices
       getselectedtext() - returns string
       insertrow(int, int, str) - returns object - the inserted row
       isidselected(int) - returns boolean
       isopen() - returns boolean
       isrowselected(int) - returns boolean
       makevisible(int)
       makevisiblebyid(int)
       open(int, int) - opens the menu at the specified screen position, if possible use openAtMouse() instead
       openatmouse()
       removerow(int)
       removerowbyid(int)
       rowcount() - returns integer
       rowcount() - returns integer
       seticonsize(int, int)
       setrowactivebyid(int, bool)
       setrowbyid(int, str)
       setselected(int)
       setselectedbyid(int)
       setselectedbytext(str)
       setselectedbytext(str)
       setselectedrow(int)
       sort()
     GuiTextEditCtrl (GuiTextCtrl):
       deniedsound - string
       historysize - integer
       password - boolean
       tabcomplete - boolean
       setselection(int, int)
       undo()
       GuiAccountPasswordCtrl (GuiTextEditCtrl):
         applypassword()
         clearpassword()
         isempty() - returns boolean
         setpasswordofaccount(str)
       GuiTextEditSliderCtrl (GuiTextEditCtrl):
         allowedit - string
         format - string
         increment - float
         range - string
         value - float
     GuiWindowCtrl (GuiTextCtrl):
       canclose - boolean
       canmaximize - boolean
       canminimize - boolean
       clientrelative - boolean - by default false; if enabled then sub-controls are positioned automatically to not overlap the header or the borders; use clientwidth and clientheight to get the available space for sub-controls
       closequery - boolean
       destroyonhide - boolean
       extent - string
       maximized - boolean
       minimized - boolean
       tile - boolean
       isactivewindow() - returns boolean
   TerrainEditor (GuiControl):
     adjustheightmousescale - float
     adjustheightval - float
     borderfillcolor - string
     borderframecolor - string
     borderheight - float
     borderlinemode - boolean
     brushpos - string
     enablesoftbrushes - boolean
     isdirty - boolean
     ismissiondirty - boolean
     materialgroup - integer
     paintmaterial - string
     processusesbrush - boolean
     renderborder - boolean
     rendervertexselection - boolean
     scaleval - float
     selectionhidden - boolean
     setheightval - float
     smoothfactor - float
     softselectdefaultfilter - string
     softselectfilter - string
     softselectradius - float
     attachterrain(str)
     buildmaterialmap()
     clearmodifiedflags()
     clearselection()
     getactionname(int) - returns string
     getbrushpos() - returns string
     getcurrentaction() - returns string
     getnumactions() - returns integer
     getnumtextures() - returns integer
     getterrainmaterials() - returns object
     gettexturename(int) - returns string
     markemptysquares()
     mirrorterrain(int)
     popbasematerialinfo()
     processaction(str)
     pushbasematerialinfo()
     redo()
     resetselweights(bool)
     setaction(str)
     setbrushpos(str)
     setbrushsize(int, int)
     setbrushtype(str)
     setlonebasematerial(str)
     setterrainmaterials(str)
     undo()
   WorldEditor (GuiControl):
     automaticsync - boolean
     axisgizmoactive - boolean
     axisgizmomaxscreenlen - integer
     boundingboxcollision - boolean
     defaulthandle - string
     dragrectcolor - string
     droptype - string
     faceselectcolor - string
     gridcolor - string
     gridsize - string
     isdirty - boolean
     lockedhandle - string
     maxscalefactor - float
     minscalefactor - float
     mousemovescale - float
     mouserotatescale - float
     mousescalescale - float
     namedistancefade - float
     namemaxdistance - float
     objectsuseboxcenter - boolean
     objecttextcolor - string
     objmouseovercolor - string
     objmouseoverselectcolor - string
     objselectcolor - string
     objtextformat - string
     planarmovement - boolean
     planedim - float
     popupbackgroundcolor - string
     popuptextcolor - string
     projectdistance - float
     rendernav - boolean
     renderobjhandle - boolean
     renderobjtext - boolean
     renderplane - boolean
     renderplanehashes - boolean
     renderpopupbackground - boolean
     renderselectionbox - boolean
     rotationsnap - float
     selecthandle - string
     selectionboxcolor - string
     selectionlocked - boolean
     showmousepopupinfo - boolean
     snaprotations - boolean
     snaptogrid - boolean
     toggleignorelist - boolean
     undolimit - integer
     addundostate()
     clearignorelist()
     clearselection()
     deleteselection()
     dropselection()
     getmode() - returns string
     getselectedobject(int) - returns object
     getselectioncentroid() - returns string
     getselectionsize() - returns integer
     hideselection(bool)
     ignoreobjclass(str)
     lightselection()
     lockselection(bool)
     redo()
     reloadselection()
     selectobject(obj)
     setmode(str)
     syncselection()
     undo()
     unselectobject(obj)
 GuiControlProfile (TGraalVar):
   align - string
   autosizeheight - boolean
   autosizewidth - boolean
   backgroundinset - string
   bitmap - string
   border - integer
   bordercolor - string
   bordercolorhl - string
   bordercolorna - string
   borderthickness - integer
   cankeyfocus - boolean
   cursorcolor - string
   fillcolor - string
   fillcolorhl - string
   fillcolorna - string
   fillonlynonchildarea - boolean - when opaque is true, then fill only the part of the control that is not covered by child controls
   focusonshow - boolean
   fontcolor - string
   fontcolorhl - string
   fontcolorlink - string
   fontcolorlinkhl - string
   fontcolorna - string
   fontcolorsel - string
   fontsize - integer
   fontstyle - string
   fonttype - string
   justify - string - the same like "align"
   linespacing - integer
   modal - boolean
   mouseoverselected - boolean
   numbersonly - boolean
   opaque - boolean
   returntab - boolean
   shadowcolor - string
   shadowoffset - string
   soundbuttondown - string
   soundbuttonover - string
   tab - boolean
   textoffset - string
   textshadow - boolean
   transparency - float
   gettextheight() - returns integer
   gettextwidth(str) - returns integer
 GuiCursor (TGraalVar):
 GuiTabCtrlEntry (TGraalVar):
   hint - string
   id - integer
   text - string
   gettext() - returns string
   settext(str)
 GuiTextListEntry (TGraalVar):
   active - boolean
   extent - string [R]
   flickering - boolean - lets the entry automatically show and hide itself in flickertime intervals
   flickertime - float - says in what interval the entry is shown and hidden, in seconds; works only in combination with flickering=true
   height - integer [R]
   hint - string
   id - integer
   image - integer
   position - string [R]
   profile - object
   selectedimage - integer
   sortgroup - integer
   sortvalue - integer
   text - string
   useownprofile - boolean
   width - integer [R]
   x - integer [R]
   y - integer [R]
   gettext() - returns string
   settext(str)
 GuiTreeViewNode (TGraalVar):
   expanded - boolean
   expandedimage - integer
   expandedselectedimage - integer
   extent - string [R]
   height - integer [R]
   hint - string
   image - integer
   level - integer [R]
   name - string - same as 'text'
   parent - object [R]
   position - string [R]
   profile - object
   selectedimage - integer
   sortgroup - integer
   sortvalue - integer
   text - string
   useownprofile - boolean
   visible - boolean
   width - integer [R]
   x - integer [R]
   y - integer [R]
   addlines(obj, bool)
   addnode(str) - returns object
   addnodebypath(str, str) - returns object
   addvars(obj, bool)
   clearnodes()
   destroy()
   getfullname(str) - returns string
   getnode(str) - returns object
   getnodebypath(str, str) - returns object
   select()
 MovieClip (TGraalVar):
   _level0 - object [R]
   _parent - object [R]
   _root - object [R]
   _visible - boolean
   _x - float
   _xmouse - float [R]
   _y - float
   _ymouse - float [R]
   alpha - float
   blue - float
   frame - integer
   framecount - integer [R]
   green - float
   height - float [R]
   layernames - object [R]
   looping - boolean
   math - object [R]
   objectname - string
   objectnames - object [R]
   playing - boolean
   red - float
   width - float [R]
   attachmovie(params...) - returns object - parameters are the movie clip to copy, the name of the new clip, and the layer
   createemptymovieclip(str, int) - returns object - parameters are the the name of the new clip and the layer
   duplicatemovieclip(params...) - returns object
   getbytesloaded() - returns integer
   getbytestotal() - returns integer
   getcolor() - returns string
   getdepth() - returns integer
   getlayer(str) - returns object
   getproperty(int) - returns string
   gotoandplay(params...) - specify the frame name or frame number
   gotoandstop(params...) - specify the frame name or frame number
   hittest(params...) - returns boolean
   nextframe()
   play()
   prevframe()
   removelayer(str)
   removemovieclip()
   setcolor(str)
   setproperty(int, str)
   stop()
   swapdepths(str)
   unloadmovie() - same as removeMovieClip()
 MRandomGenerator (TGraalVar):
   seed - integer
   destroy()
   randfloat() - returns float - a random floating point number between 0 and 1
   randint() - returns integer - a random integer number between 0 and 2147483647, use the modulus operator to generate a value in a smaller range (e.g. obj.randInt()%10 to get a value between 0 and 9)
   MRandomLCG (MRandomGenerator):
   MRandomR250 (MRandomGenerator):
 SimObject (TGraalVar):
   SceneObject (SimObject):
     eulerrotation - string
     forwardvector - string
     objectbox - string [R]
     position - string
     renderposition - string
     rightvector - string
     rotation - string
     scale - string
     scaledobjectbox - string [R]
     transform - string
     upvector - string
     worldbox - string [R]
     worldboxcenter - string [R]
     x - float
     y - float
     z - float
     getforwardvector() - returns string
     getobjectbox() - returns string
     getposition() - returns string
     getrightvector() - returns string
     getscale() - returns string
     gettransform() - returns string
     getupvector() - returns string
     getworldbox() - returns string
     getworldboxcenter() - returns string
     light()
     setforwardvector(str)
     setposition(str)
     setrightvector(str)
     setscale(str)
     settransform(str)
     setupvector(str)
     fxSunLight (SceneObject):
       animazimuth - boolean
       animbrightness - boolean
       animcolour - boolean
       animelevation - boolean
       animrotation - boolean
       animsize - boolean
       azimuthkeys - string
       azimuthtime - float
       blendmode - integer
       bluekeys - string
       brightness - float
       brightnesskeys - string
       brightnesstime - float
       colour - string
       colourtime - float
       elevationkeys - string
       elevationtime - float
       enable - boolean
       fadetime - float
       flaresize - float
       flaretp - boolean
       greenkeys - string
       lerpazimuth - boolean
       lerpbrightness - boolean
       lerpcolour - boolean
       lerpelevation - boolean
       lerprotation - boolean
       lerpsize - boolean
       linkflaresize - boolean
       localflarebitmap - string
       maxazimuth - float
       maxbrightness - float
       maxcolour - string
       maxelevation - float
       maxrotation - float
       maxsize - float
       minazimuth - float
       minbrightness - float
       mincolour - string
       minelevation - float
       minrotation - float
       minsize - float
       redkeys - string
       remoteflarebitmap - string
       rotationkeys - string
       rotationtime - float
       singlecolourkeys - boolean
       sizekeys - string
       sizetime - float
       sunazimuth - float
       sunelevation - float
       reset()
     GameObject (SceneObject):
       alpha - float
       attachedtoobject - object
       attrobjects - object [R]
       chat - string
       collision - boolean
       iseditorobject - boolean
       liquidheight - float [R]
       liquidtype - string [R]
       movetype - string
       nick - string - same as nickname
       nickcolor - string
       nickname - string
       position - string
       scaledshapebox - string [R]
       shadow - boolean
       shape - string
       shapebox - string [R]
       showterrain - boolean
       skin - string
       solid - boolean
       transform - string
       velocity - string
       watercoverage - float [R]
       checkcollision(str, str) - returns object
       checkcollisionbybox(str, str, str) - returns object
       clippolygons(str) - returns object
       findimg(int) - returns object
       getcontrollingclient() - returns object
       getcontrollingobject() - returns object
       getdropz(str) - returns float
       getinteriorobject() - returns object
       getmountedobject(int) - returns object
       getmountedobjectcount() - returns integer
       getmountedobjectnode(int) - returns integer
       getmountnodeobject(int) - returns object
       getmountposition(int) - returns string
       getmounttransform(int) - returns string
       getnodeposition(str) - returns string
       getnodetransform(str) - returns string
       getobjectmount() - returns object
       hideimg(int)
       hideimgs(int, int)
       isdrawn() - returns boolean
       isininterior() - returns boolean
       ismounted() - returns boolean
       mountobject(obj, int) - returns boolean
       setdirection(str)
       unmount()
       unmountobject(obj) - returns boolean
       Camera (GameObject):
         cameramode - string
         eulerrotation - string
         followattachedobject - object
         lookatposition - string
         lookvector - string
         updateposition()
       DynamicShapeReplicator (GameObject):
         aligntoterrain - boolean
         allowedterrainslope - integer
         allowoninteriors - boolean
         allowonstatics - boolean
         allowonterrain - boolean
         allowonwater - boolean
         allowwatersurface - boolean
         boxmax - string
         boxmin - string
         hidereplications - boolean
         maxgridobjects - integer
         mingridobjects - integer
         offsetz - float
         radius - integer
         seed - integer
         shapefiles - string
         shaperotatemax - string
         shaperotatemin - string
         shapescalemax - string
         shapescalemin - string
         surfaceexclusionmode - boolean
         surfacetype - integer
         terrainalignment - string
         DynamicGrass (DynamicShapeReplicator):
         DynamicGrassReplicator (DynamicShapeReplicator):
     Sky (SceneObject):
       cloudheight1 - float
       cloudheight2 - float
       cloudheight3 - float
       cloudspeed1 - float
       cloudspeed2 - float
       cloudspeed3 - float
       fogcolor - string
       fogstorm1 - boolean
       fogstorm2 - boolean
       fogstorm3 - boolean
       fogvolume1 - string
       fogvolume2 - string
       fogvolume3 - string
       fogvolumecolor1 - string
       fogvolumecolor2 - string
       fogvolumecolor3 - string
       materiallist - string
       norenderbans - boolean
       renderbottomtexture - boolean
       skyfadetime - float
       skysolidcolor - string
       useskytextures - boolean
       windeffectprecipitation - boolean
       windvelocity - string
       getwindowvelocity() - returns string
       realfog(bool, float, float, float) - specify if it should show, and max, min and speed values
       stormclouds(bool, float) - specify if it should show, and the duration
       stormcloudsshow(bool)
       stormfog(float, float) - percent and duration of the fog
       stormfogshow(bool)
     TerrainBlock (SceneObject):
       repeatterrain - boolean
       squaresize - integer
       terrainfile - string
     WaterBlock (SceneObject):
       density - float
       depthgradient - float
       distortgridscale - float
       distortmag - float
       distorttime - float
       envmapintensity - float
       envmapovertexture - string
       envmapundertexture - string
       flowangle - float
       flowrate - float
       ignoreterrain - boolean
       liquidtype - string
       maxalpha - float
       minalpha - float
       removewetedges - boolean
       shoredepth - float
       shoretexture - string
       specularcolor - string
       specularmasktex - string
       specularpower - float
       submergetexture0 - string
       submergetexture1 - string
       surfaceopacity - float
       surfaceparallax - float
       surfacetexture - string
       tessshore - float
       tesssurface - float
       usedepthmask - boolean
       viscosity - float
       wavemagnitude - float
   SimGroup (SimObject):
     addcontrol(obj)
     GameConnection (SimGroup):
       account - string [R]
       camera - object [R]
       communityname - string [R]
       isobserver - boolean [R]
       nick - string [R]
       objecttype() - returns string
       showprofile()
   Sun (SimObject):
     ambient - string
     color - string
     direction - string
 TDrawableObject (TGraalVar):
   layer - integer [R]
   TBaddy (TDrawableObject):
     dir - integer
     headdir - integer
     mode - integer
     power - integer
     type - integer
     x - float
     y - float
   TLevelObject (TDrawableObject):
     level - object [R]
     x - float
     y - float
     z - float
     TExplosion (TLevelObject):
       dir - integer [R]
       power - integer [R]
       time - float [R]
     TGaniObject (TLevelObject):
       alpha - float
       ani - object [R]
       aniparams - string [R]
       anistep - integer [R]
       attachedtoobject - object [R]
       attachid - integer [R]
       attachtype - integer [R]
       attr - object [R]
       blue - float
       body - string
       bodyimg - string
       colors - object [R]
       dir - integer
       gmap - object [R]
       green - float
       head - string
       headimg - string
       mode - integer - the object drawing mode (0 - add, 1 - transparent, 2 - subtract, 3 - daynight)
       red - float
       rotation - float
       shield - string
       sprite - integer
       stretchx - float
       stretchy - float
       sword - string
       zoom - float
       getimageforsprite(obj) - returns string
       getsprite(str) - returns object
       getspriteforspritepos(obj) - returns object
       setcoloreffect(float, float, float, float)
       seteffectmode(int)
       TProjectile (TGaniObject):
         angle - float [R]
         fromplayer - object [R]
         horiz - boolean [R]
         params - object [R]
         speed - float [R]
         x - float [R]
         y - float [R]
         z - float [R]
         zspeed - float [R]
       TServerHorse (TGaniObject):
         bombpower - integer
         bombs - integer
         bushes - integer
         dir - integer
         type - integer
       TServerPlayer (TGaniObject):
         account - string [R]
         ap - integer
         attached - boolean [R]
         attachedtoobject - object
         bombs - integer
         chat - string
         communityname - string [R]
         darts - integer
         fullhearts - integer [R]
         glovepower - integer
         gralats - integer
         guild - string [R]
         headimg - string
         headset - integer
         hearts - float [R]
         horseimg - string [R]
         hp - float [R]
         id - integer [R]
         isadmin - boolean [R]
         isbuddy - boolean
         ischannel - boolean [R]
         ischannelopen - boolean [R]
         ischanneluser - boolean [R]
         isexternal - boolean [R]
         isfemale - boolean [R]
         isignored - boolean
         isignoring - boolean [R]
         isloggedin - boolean [R]
         ismale - boolean [R]
         ismuted - boolean [R]
         ismuting - boolean [R]
         language - string [R]
         languagedomain - string [R]
         mapicon - object [R] - of type TDrawingPanel, this is the icon that appears on the mini-map, usually updated by the playerlist script
         maxhp - integer [R]
         messagebubble - integer [R]
         mp - integer
         nick - string
         platform - string [R]
         playersindex - integer [R]
         rating - float [R]
         ratingd - float [R]
         rupees - integer - better use 'gralats'
         shieldimg - string - only there for compatibility with GS1, use just 'shield' instead
         shieldpower - integer [R]
         swordimg - string - only there for compatibility with GS1, use just 'sword' instead
         swordpower - integer [R]
         x - float
         y - float
         isguildpm() - returns boolean
         ismasspm() - returns boolean
         openexternalhistory() - returns boolean
         openexternalpm(bool) - returns boolean - as parameter specify 'true' if it should display the pm sent by the player, otherwise always open a blank PM window
         pmswaiting() - returns boolean
         showprofile()
         TPlayer (TServerPlayer):
           ap - integer
           chat - string
           freezetime - float
           hearts - float
           horseimg - string
           hp - float
           hurt - boolean [R]
           hurtdx - float [R]
           hurtdy - float [R]
           hurted - boolean [R]
           hurtpower - float [R]
           isfemale - boolean [R]
           ismale - boolean [R]
           isobserver - boolean [R]
           letters - string
           map - boolean [R]
           nick - string [R]
           onhorse - boolean [R]
           online - boolean [R]
           paused - boolean [R]
           reading - boolean [R]
           shieldimg - string - same as 'shield', except that changing this also updates the shieldpower
           sprite - integer
           swimming - boolean [R]
           swordimg - string - same as 'sword', except that changing this also updates the swordpower
           weapon - object [R]
           weapons - object [R]
         TServerNPC (TServerPlayer):
           actionplayer - integer [R]
           hearts - float
           height - float [R]
           horseimg - string
           hp - float
           hurtdx - float
           hurtdy - float
           image - string
           isblocking - boolean
           isblockingprojectiles - boolean
           layer - integer
           npcsindex - integer [R]
           peltwithblackstone - boolean [R]
           peltwithbush - boolean [R]
           peltwithnpc - boolean [R]
           peltwithsign - boolean [R]
           peltwithstone - boolean [R]
           peltwithvase - boolean [R]
           save - object [R]
           shieldpower - integer
           sprite - integer
           swordpower - integer
           visible - boolean
           width - float [R]
           x - float
           y - float
           blockagain()
           blockagainlocal()
           canbecarried()
           canbepulled()
           canbepushed()
           cannotbecarried()
           cannotbepulled()
           cannotbepushed()
           carryobject(str)
           changeimgcolors(int, float, float, float, float)
           changeimgmode(int, int)
           changeimgpart(int, int, int, int, int)
           changeimgvis(int, int)
           changeimgzoom(int, float)
           destroy()
           dontblock()
           dontblocklocal()
           drawaslight()
           drawoverplayer()
           drawunderplayer()
           findimg(int) - returns object
           hide()
           hideimg(int)
           hideimgs(int, int)
           hidelocal()
           hurt(int)
           lay(str)
           message(str)
           move(float, float, float, int)
           setbow(str)
           setcharani(str, str)
           setchargender(str)
           setimg(str)
           setimgpart(str, int, int, int, int)
           setshape(int, int, int)
           setshape2(int, int, obj)
           setzoomeffect(float)
           shootarrow(int)
           shootball()
           shootfireball(int)
           shootfireblast(int)
           shootnuke(int)
           show()
           showani(int, float, float, int, str) - returns object
           showani2(int, float, float, float, int, str) - returns object
           showcharacter()
           showimg(int, str, float, float) - returns object
           showimg2(int, str, float, float, float) - returns object
           showlocal()
           showpoly(int, obj) - returns object
           showpoly2(int, obj) - returns object
           showtext(int, float, float, str, str, str) - returns object
           showtext2(int, float, float, float, str, str, str) - returns object
           take(str)
           take2(int)
           takehorse(int)
           throwcarry()
           timereverywhere()
           TServerWeapon (TServerNPC):
             isweapon - boolean [R]
     TServerBomb (TLevelObject):
       power - integer
       time - float
     TServerCarry (TLevelObject):
     TServerChest (TLevelObject):
       isopen - boolean [R]
       item - string [R]
     TServerExtra (TLevelObject):
       time - float [R]
       type - integer [R]
     TServerFlying (TLevelObject):
       dir - integer [R]
       dx - float
       dy - float
       from - integer [R]
       type - integer [R]
     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 [R]
       eulerrotation - string
       flashfile - string
       font - string
       green - float
       image - string
       imageindex - integer [R]
       is3dlight - boolean
       layer - integer
       mode - integer - the image drawing mode (0 - add, 1 - transparent, 2 - subtract, 3 - daynight)
       playerlook - boolean - if the animation should take it's head, body, sword, shield and attr[] from the owner (playerlook), set this to false if you want to set the images yourself by changing showimg.actor.head etc.
       polygon - object
       position - string
       red - float
       rotation - float
       shape - string
       shapeobject - object [R]
       spin - float
       stretchx - float
       stretchy - float
       style - string
       text - string
       x - float
       y - float
       z - float
       zoom - float
 TDrawingPanel (TGraalVar):
   height - integer [R]
   isclear - boolean [R]
   parth - integer [R]
   partw - integer [R]
   partx - integer [R]
   party - integer [R]
   width - integer [R]
   clearall()
   clearrectangle(int, int, int, int) - x, y, width and height
   drawimage(int, int, str) - x, y, source image
   drawimagerectangle(int, int, str, int, int, int, int) - destination x and y, source image, source x,y,width and height
   drawimagestretched(int, int, int, int, str, int, int, int, int) - destination x,y,width and height, source image, source x,y,width and height
   saveimage(str)
 Terraformer (TGraalVar):
   loadgrayscale(int, str) - returns boolean
   loadgreyscale(int, str) - returns boolean
   savegreyscale(int, str) - returns boolean
   setterrain(int) - returns boolean
 TFrameDetail (TGraalVar):
   bordercolor - string
   borderenable - string
   bordermovable - string
   borderwidth - integer
   minextent - string
 TGameObjectAttr (TGraalVar):
 TGaniParam (TGraalVar):
 TGraalAni (TGraalVar):
   continuous - boolean
   ganitype - string [R]
   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 [R]
   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 [R]
   contentlanguage - string [R]
   contentlength - integer [R]
   contenttype - string [R]
   downloadcomplete - boolean [R]
   file - string [R]
   fulldata - string [R]
   lastmodified - string [R]
   port - integer [R]
   returncode - integer [R]
   returnmessage - string [R]
   server - string [R]
   url - string [R]
 TMovementRigid (TGraalVar):
   mass - float
 TParticle (TGraalVar):
   angle - float
   lifetime - float
   movementvector - string
   sound - string
   speed - float
   zangle - float
 TParticleEmitter (TGraalVar):
   attachposition - boolean
   autorotation - boolean
   checkbelowterrain - boolean
   clippingbox - string
   cliptoscreen - boolean
   continueafterdestroy - boolean
   currentparticlecount - integer [R]
   delaymax - float
   delaymin - float
   dropemitter - object [R]
   dropwateremitter - object [R]
   emissionoffset - string
   emitatterrainheight - boolean
   emitautomatically - boolean
   emittedparticles - integer [R]
   firstinfront - boolean
   isfrozen - boolean
   maxparticles - integer
   movementfactor - float
   nrofparticles - integer
   particle - object [R]
   particletypes - integer
   wraptoclippingbox - boolean
   addemitmodifier(str, float, float, str, str, float, float) - returns object
   addglobalmodifier(str, float, float, str, str, float, float) - returns object
   addlocalmodifier(str, float, float, str, str, float, float) - returns object
   advancetime(float)
   emit()
   emitat(str)
   removemodifiers()
   removeparticles()
 TParticleModifier (TGraalVar):
   addmod(str, str, float, float)
 TScriptFunction (TGraalVar):
 TServerLevel (TGraalVar):
   compsdead - boolean [R]
   height - integer [R]
   isnopkzone - boolean [R]
   issparringzone - boolean [R]
   nopkzone - boolean [R] - same like 'isnopkzone'
   tilelayercount - integer
   width - integer [R]
   findareanpcs(x, y, width, height) - returns an array of all npcs in the specified rectangle (can also be used without an object (in other words, "findAreaNPCs" instead of "level.findAreaNPCs"), which is faster on GMAPs since it only checks NPCs in the surrounding levels)
   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 [R]
   destx - float [R]
   desty - float [R]
   height - float [R]
   width - float [R]
   x - float [R]
   y - float [R]
 TShapeMaterial (TGraalVar):
   specularpower - integer
 TShowImg_Values (TGraalVar):
   alpha - float
   blue - float
   green - float
   mode - integer - the image drawing mode (0 - add, 1 - transparent, 2 - subtract, 3 - daynight)
   red - float
   rotation - float
   spin - float
   stretchx - float
   stretchy - float
   zoom - float
   TShowImg_Flash (TShowImg_Values):
     flash - object [R]
   TShowImg_Gani (TShowImg_Values):
     actor - object [R]
   TShowImg_Image (TShowImg_Values):
     height - float
     parth - integer
     partw - integer
     partx - integer
     party - integer
     width - float
   TShowImg_Poly (TShowImg_Values):
     parth - integer
     partw - integer
     partx - integer
     party - integer
   TShowImg_Shape (TShowImg_Values):
     lightcolor - string
     lightdirection - string
     shadowdirection - string
   TShowImg_Text (TShowImg_Values):
     parth - integer
     partw - integer
     partx - integer
     party - integer
     shadowcolor - string
     shadowoffset - string
     textshadow - boolean
 TStaticVar (TGraalVar):
   destroy()
   Array (TStaticVar):
     initialize(params...)
   Color (TStaticVar):
     initialize(obj)
     setrgb(int)
   Date (TStaticVar):
     initialize(params...)
   Math (TStaticVar):
     abs(float) - returns float
     floor(float) - returns integer
     random() - returns float
     sin(float) - returns float
     sqrt(float) - returns float
   Sound (TStaticVar):
     initialize(params...)
   String (TStaticVar):
     initialize(params...)
 TTilesLayer (TGraalVar):
   alpha - float
   blue - float
   green - float
   layerindex - integer [R]
   offset - string
   red - float
   x - float
   y - float
   z - float
   updateboard(int, int, int, int)
 TUpdatePackage (TGraalVar):
   accounts - object [R]
   description - string [R]
   downloadcomplete - boolean [R]
   downloadedsize - integer [R]
   filecount - integer [R]
   filedownloadedsize - integer [R]
   filename - string [R]
   filetotalsize - integer [R]
   isuninstalled - boolean [R]
   lastdownloadfile - string [R]
   localversion - float [R]
   mode - string [R]
   name - string [R]
   parent - object [R]
   platform - string [R]
   protectoverwrite - boolean [R]
   totalsize - integer [R]
   usechecksum - boolean [R]
   version - float [R]
   reinstall() - returns boolean
   uninstall() - returns boolean
   update() - returns boolean


Global

  $pref::audio::choosenvoicecodec - integer
  $pref::audio::microactivatebyvolume - boolean
  $pref::audio::microactivationlevel - integer
  $pref::audio::microinputdevice - integer
  $pref::audio::microon - boolean
  $pref::audio::microvolumefactor - integer
  $pref::audio::midivolume - integer
  $pref::audio::mp3volume - integer
  $pref::audio::radiovolume - integer
  $pref::audio::reversestereo - boolean
  $pref::audio::sfxvolume - integer
  $pref::audio::voicevolume - integer
  $pref::capture::allowbyscript - boolean [R]
  $pref::capture::area - string
  $pref::capture::audiobitrate - integer
  $pref::capture::disabledaynight - boolean
  $pref::capture::format - string
  $pref::capture::fps - integer
  $pref::capture::hideinterface - boolean
  $pref::capture::recordaudio - boolean
  $pref::capture::showmouse - boolean
  $pref::capture::size - string
  $pref::capture::videobitrate - integer
  $pref::graal::allowglobalpms - boolean
  $pref::graal::automapping - boolean
  $pref::graal::defaultfontname - string
  $pref::graal::defaultfontsize - integer
  $pref::graal::dontconnectlevels - boolean
  $pref::graal::dontloadlistheads - boolean
  $pref::graal::dontsavepasswords - boolean
  $pref::graal::dontsavepms - boolean
  $pref::graal::fixedport - boolean
  $pref::graal::fixedudpport - integer
  $pref::graal::language - string
  $pref::graal::limitnicknames - boolean
  $pref::graal::loadbuddylistfromserver - boolean
  $pref::graal::nicknamelimit - integer
  $pref::graal::nomassmessages - boolean
  $pref::graal::notoalls - boolean
  $pref::graal::noudp - boolean
  $pref::graal::showyourselfonbuddylists - boolean
  $pref::input::mousesensitivity - float
  $pref::interior::lockarrays - boolean
  $pref::video::defaultguistyle - string
  $pref::video::detailfactor - float
  $pref::video::fogdistance - float
  $pref::video::fullscreenmode - string
  $pref::video::resolution - integer
  $pref::video::screenshotformat - string
  $pref::video::visibledistance - float
  $pref::video::windowmode - string