View Single Post
  #3  
Old 06-20-2005, 12:43 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Ah its a little bit confusing, most of those commands are from Graal2D and exist for a long time, also you should also list the object type if you list object functions.

emoticonchar - also #E i think, its the character you typed for emoticons (Ctrl+key), this has been added before keydown2 was available

obj.sortascending() / obj.sortdescending() is sorting an array by name

worldminute, syntimeofday etc. is the for Graal3D daynight effect

waterheight - defines the z of the water on terrain (e.g. on Kingdoms)

gravity - can be set on clientside and serverside and defines how much projectiles (shoot) are moved towards the ground, default value is 2 i think, on Zone it is only 0.2 so that projectiles don't fly in a curve

requestfilesmove is for the scripted RC i think, not sure

selectedsword - gives the index of the sword weapon (not sure if its available in normal Graal but it has been used some years ago)

I will add more descriptions to the scripting commands, when you do "Graal4.exe -listscriptfunctions" it is listing all available functions and most built-in variables, and it is also giving some short description for important functions, but I haven't got the time yet to document them all.
Reply With Quote