Johan Liebert
Villager
- Xy$
- 0.00
Hello everyone.
I checked Archea's script call and i found this to check passability of the player leaving the tile
Now I would like to know if there is a correspondant to
so that i can check passability of entering the other tile and if there is an event blocking the way.
I tested
and it is not working.
Thank you
EDIT: after messing around with the console I found this
Can a moderator put answered to this post since I can't 'best answer' my own message ? Thank you.
I checked Archea's script call and i found this to check passability of the player leaving the tile
JavaScript:
$gameMap.isPassable(x, y, direction)
Code:
$game_player.passable?(x, y, d)
I tested
JavaScript:
$gamePlayer.isPassable(X, Y, Direction)
Thank you
EDIT: after messing around with the console I found this
JavaScript:
$gamePlayer.canPass(x, y, d)
Last edited: