Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   Hey Stefan this might be a cool one (https://forums.graalonline.com/forums/showthread.php?t=5396)

WeirdmanI9 06-22-2001 06:24 AM

Hey Stefan this might be a cool one
 
Make it where like u can press a certain button and it does an action ,other then just A,S,D,F,M,Q,P,up,down,right,left,
like the script could be
if (keypressed(A)) {action here;
}
with like
A,B,C,D,E,F,G,H,I,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z, Control,Shift and stuff like that :D
Jman9912
[email protected]-

Spearman 06-22-2001 06:36 AM

He has to give a # to each key, that is the way it works now

MoonAngel 06-22-2001 08:14 AM

adding the ASCII codes would be nice =\

General 06-22-2001 08:40 AM

if (newkeydown(1-26)) 1=A, 26=Z

Psyker 06-25-2001 11:00 AM

if (keydown(12))&&(15)&&(12)) {
message haha, funny;
sleep 1.5;
message;
}

KJS 06-25-2001 12:01 PM

also this should be added
 
the function
chr(ascii code)
and
#chr(ascii code) (for like messages and stuff)

and it will give you the letter... it would be good for signs and stuff if you want to do something like

setplayerprop #c,This is a test; A very good test;

it wouldn't work....

so like that is were chr could go in place like

setplayerprop #c,this is a test#chr(59) A very good test;

WeirdmanI9 06-25-2001 01:16 PM

yea so does everything think its a good idea?
P.S. for some reason i couldnt even get keydown to work lol i dont kno why
-Jman9912-

grim_squeaker_x 06-25-2001 02:00 PM

Re: also this should be added
 
Quote:

Originally posted by KJS
the function
chr(ascii code)
and
#chr(ascii code) (for like messages and stuff)

and it will give you the letter... it would be good for signs and stuff if you want to do something like

setplayerprop #c,This is a test; A very good test;

it wouldn't work....

so like that is were chr could go in place like

setplayerprop #c,this is a test#chr(59) A very good test;

You can do #K(Ascii code) for that.

WeirdmanI9 06-26-2001 01:31 AM

hmm i was thinking instead of ASCII it might be cool just for a letter or number say u want it to charge up a strength or something
if (#K(A&&D)) {
;
see wat im sayin that would be cool
[email protected]-

Kaimetsu 06-26-2001 01:35 AM

I believe Stefan wants it to be Gamepad-compliant.

WeirdmanI9 06-26-2001 02:25 AM

yea thats true im just tryin to make it easier but that might be harder....for people with gamepads i migth start using one heh
[email protected]-


All times are GMT +2. The time now is 12:59 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.