Results 1 to 4 of 4

Thread: Key Code Functions

  1. #1
    Join Date
    Jan 2008
    Location
    Alberta
    Posts
    727
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Key Code Functions

    This is mostly for other games, because its not too useful for rs2, but it could be for rs2 in some cases.

    It's pretty simple, but the things kinda explain themselves. It pressed down the key that the name of the function is. It's just mostly so you don't have to remember all the keycodes.

    If you want me to add any I will.

  2. #2
    Join Date
    Jun 2007
    Location
    Wednesday
    Posts
    2,446
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    Or you could press f1 and scroll down the huge ASCII table
    Nice idea though maybe but it all into one function using a case next time?
    E.g.
    case InputKey of
    'ctr': KeyDown(blah);
    'shift': KeyDown(blah);
    etc.
    By reading this signature you agree that mixster is superior to you in each and every way except the bad ways but including the really bad ways.

  3. #3
    Join Date
    Jan 2008
    Location
    Alberta
    Posts
    727
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    My F Keys don't work on my keyboard for some weird reason . I cut it down alot, and made it all into one function.

  4. #4
    Join Date
    Jun 2007
    Location
    Wednesday
    Posts
    2,446
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    Just need a KeyUp proc now so we don't have to keep ctrl down for the next few hours
    By reading this signature you agree that mixster is superior to you in each and every way except the bad ways but including the really bad ways.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How do you code?
    By Wrycu in forum C/C++ Help and Tutorials
    Replies: 17
    Last Post: 10-27-2008, 02:10 PM
  2. What is the code...
    By Boonce in forum OSR Help
    Replies: 13
    Last Post: 01-13-2008, 01:38 PM
  3. Code Box
    By Bam Bam in forum News and General
    Replies: 2
    Last Post: 08-15-2006, 10:45 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •