KUAIJIE.jpg (74.53 KB, 下载次数: 14)
快捷方式.png (78.47 KB, 下载次数: 15)
我为鱼肉 发表于 2022-10-18 13:40
进入地图把这些键执行的内容,都执行一次不就行了
模拟按键,论坛有类似脚本
紫英晓狼,真调用虚拟按键,自 ...
module Input #CASZ Tr = method("trigger?") def self.trigger?(input) if $scene.is_a?(Scene_Map) if input == Input::Q and $game_switches[27] $game_switches[27] = false return true end if input == Input::W and $game_switches[29] $game_switches[29] = false return true end if input == Input::A and $game_switches[30] $game_switches[30] = false return true end end if input == Input::D and $game_switches[31] $game_switches[31] = false return true end end if input == Input::S and $game_switches[32] $game_switches[32] = false return true end end Tr.call(input) end Pr = method("press?") def self.press?(input) if $scene.is_a?(Scene_Map) if input == Input::X and $game_switches[28] #A $game_switches[28] = false return true end end Pr.call(input) end end
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |