本帖最后由 bbaugle 于 2013-8-21 08:22 编辑
具体在几行?
话说根本不明白你这段脚本在干嘛= =
顺带一提,@move_speed又不是不能带小数点。
if Input.press?(Follower_Set::Input_Run) and $game_system.run_switch @move_speed = Follower_Set::Follow_Run_Speed[$game_party.actors[0].name] @running = true else @move_speed = Follower_Set::Follow_Walk_Speed[$game_party.actors[0].name] @running = false end
if Input.press?(Follower_Set::Input_Run) and $game_system.run_switch
@move_speed = Follower_Set::Follow_Run_Speed[$game_party.actors[0].name]
@running = true
else
@move_speed = Follower_Set::Follow_Walk_Speed[$game_party.actors[0].name]
@running = false
end
直接这样不就行了呗 |