RPG Maker Forums

Hello, I'm trying to make a short plugin that just prevent the player on walking on tiles with a set region(say region 1). I am aware there are quite a few of region plugins that are amazing and does what I want to do. But I'm just trying to make a little plugin specifically only to the player.

I'm confused on what following properties should I use to make the player not walk to the tile.
  • $gamePlayer.setThrough();
  • $gamePlayer.moveByInput();
  • $gamePlayer.canMove();
  • $gamePlayer.canPass();
  • $gamePlayer.isCollided();
  • $gameMap.isValid();
  • $gameMap.passable();
I can get the following data: $gamePlayer.regionId, $gameMap.regionId, $gamePlayer.x, $gamePlayer.y

Latest Threads

Latest Profile Posts

Day 9 of giveaways! 8 prizes today :D
He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.

Forum statistics

Threads
106,040
Messages
1,018,476
Members
137,824
Latest member
dobratemporal
Top