How to check if the tile is passible?

Started by Zexion, December 31, 2012, 06:49:37 pm

Previous topic - Next topic

Zexion

How would I check, via a script call, if the tile that the player is facing is passible?

KK20

$game_player.passable?(x,y,d)

Or, in your case,
$game_player.passable?($game_player.x,$game_player.y,$game_player.direction)


Maybe because you spelled passable as passible :V:

Other Projects
RPG Maker XP Ace  Upgrade RMXP to RMVXA performance!
XPA Tilemap  Tilemap rewrite with many features, including custom resolution!

Nintendo Switch Friend Code: 8310-1917-5318
Discord: KK20 Tyler#8901

Join the CP Discord Server!