I'm fiddling with the base scripts and seeing what I can come up with,
Just curious how you guys would check the position directly in front of the player?
Let's say I was looking to figure out the region right in front, and print it to msgbox.
I saw this 'x_with_direction' and also 'round_x_with_direction'.
Just the tiniest script would be cool, so I can fiddle some more.
Just curious how you guys would check the position directly in front of the player?
Let's say I was looking to figure out the region right in front, and print it to msgbox.
Code:
f_x = $game_map.x_with_direction($game_player.x, $game_player.direction)
f_y = $game_map.y_with_direction($game_player.y, $game_player.direction)
msgbox_p($game_map.region_id(f_x, f_y))
I saw this 'x_with_direction' and also 'round_x_with_direction'.
Just the tiniest script would be cool, so I can fiddle some more.