Just take a keyboard input input script and set WASD to be mapped to the arrow keys too (or maybe the other way around)... take note though that some default controls are mapped to ASW, so you would need to reassign those too...
But do you want WASD to control the main player, or do you intend for it to be used as a multiplayer? In that case, you'd want the arrow keys for ONE player, and WASD for the other, so mapping them to the arrow keys would not achieve what you're after.
I was looking to have the main player in the single player move with WASD
This?
#=======================================================# Perfect WASD Move# Author: Raizen# Comunity: www.centrorpg.com# Script adds WASD movement#=======================================================#=======================================================#========= Here starts the script ======================#=======================================================$imported = {} if $imported.nil?$imported[:lune_asdw] = trueclass << Input def initi @asdw_array = Array.new end def dir4 @asdw_array.delete(4) unless Input.press?🙂X) @asdw_array.delete(2) unless Input.press?🙂Y) @asdw_array.delete(6) unless Input.press?🙂Z) @asdw_array.delete(8) unless Input.press?🙂R) @asdw_array << 4 if Input.press?🙂X) && !@asdw_array.include?(4) @asdw_array << 2 if Input.press?🙂Y) && !@asdw_array.include?(2) @asdw_array << 6 if Input.press?🙂Z) && !@asdw_array.include?(6) @asdw_array << 8 if Input.press?🙂R) && !@asdw_array.include?(8) return @asdw_array.last if @asdw_array.last.is_a?(Integer) 0 endendInput.initiIf you want I can use switches to change between old arrow move.
Perfect!
Thank you so much.
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.