The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: fadark on May 16, 2007, 06:41:12 PM

Title: [RESOLVED] a simple question
Post by: fadark on May 16, 2007, 06:41:12 PM
in blizzard's abs, i want you to be able to move with the arrow keys.
    CUSTOM_CONTROL = true
    # set the next values only if the one above is true
    DOWN = 'S' # move down
    LEFT = 'A' # move left
    RIGHT = 'D' # move right
    UP = 'W' # move up
    ATTACK = 'F' # attacking
    DEFEND = 'D' # defending (hold)
    SKILL = 'S' # use skill
    ITEM = 'C' # use item
    SELECT = 'L' # change leader
    HUD_BUTTON = 'H' # HUD on/off if enabled
    MINIMAP_BUTTON = 'M' # minimap on/off if enabled
    HOTKEY_BUTTON = 'K' # hotkey display on/off if enabled
    RUN = 'A' # running (hold)
    SNEAK = 'Z' # sneaking (hold)
    JUMP = 'Q' # jumping
    TURN = 'T' # turning around without moving (hold)
  end


what should i replace s, a, d, and w with to move with the arrow keys?
Title: Re: a question that any good scripter can answer
Post by: Irock on May 16, 2007, 06:42:24 PM
You can move with the arrow keys. But you can also move with s, a, d, and w.
Title: Re: a simple question
Post by: fadark on May 16, 2007, 10:46:49 PM
but the script disables the arrow keys and makes it wasd. how do i fix that?

[edit]
never mind, i figured it out by myself ;)