04-28-2025, 01:30 AM
Within my last example, I used commands such as 'move_upper_left', and move_upper_left is actually a default command within Game_Character. Granted, within the default script, said command would move the subject 'up' and then 'left'.
BUT....!
Within my script, I rewrote the Game_Character methods. In doing so, "ANY" event given said instruction would utilize actual diagonal movement. Not just the player. :) For example, I gave an event a Custom Move Route:
$>Move Lower_Left
$>Move Lower_Left
$>Move Lower_Right
$>Move Lower_Right
$>Move Upper_Right
$>Move Upper_Right
$>Move Upper_Left
$>Move Upper_Left
And likewise, you can use a script like so:
@>Script: test_ev = $game_map.events[10]
: : test_ev.move_upper_left
: : test_ev.move_up
This will work with a few commands like above. But if you have a large number of steps, I would recommend the use of Move Route in its stead.
BUT....!
Within my script, I rewrote the Game_Character methods. In doing so, "ANY" event given said instruction would utilize actual diagonal movement. Not just the player. :) For example, I gave an event a Custom Move Route:
$>Move Lower_Left
$>Move Lower_Left
$>Move Lower_Right
$>Move Lower_Right
$>Move Upper_Right
$>Move Upper_Right
$>Move Upper_Left
$>Move Upper_Left
And likewise, you can use a script like so:
@>Script: test_ev = $game_map.events[10]
: : test_ev.move_upper_left
: : test_ev.move_up
This will work with a few commands like above. But if you have a large number of steps, I would recommend the use of Move Route in its stead.