Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-11-2002, 10:49 PM
mikepg mikepg is offline
Registered User
Join Date: Nov 2001
Location: VA, USA
Posts: 501
mikepg is on a distinguished road
Send a message via AIM to mikepg Send a message via Yahoo to mikepg
Passing Keys

there should be a command like sendkeys!
that would be great, so you can disable the normal map, instead of press M, you'd have to open your pack, and equip it and look at it like an item!

that way, you can do things like

if (weaponfired) {
sendkeys(m);
}
except...you'd probably want the code for the letter, as opposed to the symbol.

and,

if (keypressed) {
if (keycode for m here) sendkeys null;
}

This could also be used for pausing, unpausing, stopping players from reading (if (playerisreading) sendkeys(m),
prevent movement when desired, instead of using disabledefmovement.

The only down fall, is that you could customize your keys to change the effect a server has on your client...
so, there'd have to be
sendkeys2(game key code);
(0..10 or whatever it is).

This would be VERY useful for system NPCs, and all sorts of games and other things!
__________________
~War Lord Mpg2
Bravo Online's Asst. Staff Manager

"Sittin by the tree, sippin eggnog, waitin on christmas gifts"
Reply With Quote
  #2  
Old 08-11-2002, 10:55 PM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
The problem here is that at no point did you actually say what the command should do. But I'm guessing that you want a command that triggers a keypressed, yeah? But it's not really necessary; it can be implemented via other means.
__________________
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:48 PM.


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