08-04-2011, 01:17 PM
So I'm trying to create my own Input.dir4 case, but I'm having trouble figuring out how to make the character stop moving through scripting in events.
Here's what I have so far:
I have this as a conditional branch.
Within the else conditional, I have this call script:
The case is working but the problem is, I'm trying to get the player to stop moving which I can't pull off.
Here's what I have so far:
I have this as a conditional branch.
Code:
$game_player.moving? or $game_system.map_interpreter.running? or $game_player.instance_eval("@move_route_forcing") or $game_temp.message_window_showing
Within the else conditional, I have this call script:
Code:
case Input.dir4
when 2; $game_player.turn_up
when 4; $game_player.turn_left
when 6; $game_player.turn_right
when 8; $game_player.turn_down
end
The case is working but the problem is, I'm trying to get the player to stop moving which I can't pull off.