![]() |
Scripting improvements
I think Stefan should implement a way to disable certain actions, like disablesword; or disableDweapon; or disablePausebutton; ect... Also, I think hidesword or disablesword should also hide the sword icon in the ASD icons in the upper-left corner of the window, so people can script their own sword scripts or other things, without that annoying number in the way >_< Just my thoughts.
|
disabledefkey(keyindex);
that would be good Also more function stuffs like Params in functions function funcname(param1name,param2name,...) { } and funcname(value1,value2,...) Also we should have return [value]; (wich would be able to include boolean expressions like true and false) Ahhh. So many posibilities with that *sigh* |
yes that would me good. and nice. i think stefan should update the g-server so we can test levels online with other people playering have a couple people testing the levels at one time to see how they do online.
|
3 player gserver
|
Oh! And maybe add the Delete key to the list of KeyDown events. The only usefull keydown's are Up,Down,Left,Right,A,S,D, and Q if disableselectweapons; is called... Tab, P, and M are useless... Maybe if Stefan could add like a W,E,R, or Z,X,C keys instead? I'm sure that would make a lot of people stop complaining about extra keydowns, withough making things complicated.
|
if (keypressed(Key)) -> if the key was pressed for a short moment (if (keydown(key)) is set when the key is held down)
if (mousebuttonklicked(Left/right)) if (klickedonme(Left/Right)) and the variables mousex/mousey for mouse actions |
if (wasclicked) {
message #v(mousex),#v(mousey); } |
Didn't Stefan already say he was anti-mouse? Anyways, I think Stefan should also let you use a string in toweapons. Take this for example:
NPC Code: Currently, if I do that same method in Graal, it will create a weapon named: #s(this That would be a huge help. |
| All times are GMT +2. The time now is 09:13 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.