This is "script call support board", alright. Would be better if you create a thread instead. But ok...
@boyflea before you go further, you have to know that ;pageup and ;pagedown has its own handler in Window_Selectable @ line 295 ~ 300. Means you can't just put :left or :right and expect it to work because the system won't recognize it.
You can try to imitate it by overwriting it on Window_SkillCommand, like
Then ofc you also need to define the process_right & process_left methods. You can try to look at how process_pagedown & process_pageup works. Then you can expect your code to work
@boyflea before you go further, you have to know that ;pageup and ;pagedown has its own handler in Window_Selectable @ line 295 ~ 300. Means you can't just put :left or :right and expect it to work because the system won't recognize it.
You can try to imitate it by overwriting it on Window_SkillCommand, like
Code:
class Window_SkillCommand
def process_handling
return unless open? && active
return process_ok if ok_enabled? && Input.trigger?(:C)
return process_cancel if cancel_enabled? && Input.trigger?(:B)
return process_pagedown if handle?(:pagedown) && Input.trigger?(:R)
return process_pageup if handle?(:pageup) && Input.trigger?(:L)
# add these first
return process_right if handle?(:right) && Input.trigger?(:right)
return process_left if handle?(:left) && Input.trigger?(:left)
end
end