![]() |
Commands that elude me
Elude.. Hehe.. Funny word.
Anyway, I'm making a commands.rtf for the new engine. I either don't know the usage of the following commands or I don't know what part of the syntax is. Can anyone give me a hand? I know some are probably irrelevant to a regular server. I can't play around with GS2 at the moment. :( synctimeofday(float, float) (Irrelevant?) setcontentcontrol(obj) (No clue.) emoticonchar (What does it return?) requesttext(str, str) (I want to make sure I listed all the things it can request) triggerserver(str, str, str) - I need the syntax. :/ |
Quote:
|
A lot of them are for 3D servers, like cursoron() and off, also the matrix and vector functions.
|
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
I can't go through them all. They seem to be mostly for Graal 3D |
HTML Code:
editingmission - Probably a variable signifying a mission is being edited (Graal3D probably). |
Quote:
|
Quote:
|
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. |
Okay, thank you. :)
If only I had Graal4. :( |
Quote:
|
Yes just at the end of the line
|
| All times are GMT +2. The time now is 06:12 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.