[RMMV] Check In Front
A downloadable RPG Maker MV Plugin
Return/Check the RegionId that is in front of a Game_Character
Script Calls:
Replace c with a Game_Character (ex. $gamePlayer or $gameMap.event(eventId))
c.regionInFront()
c.isRegionInFront(r) // r = regionId
c.regionIsInFront(r) // r = regionId
c.setRegionCheckConditon(condition) // condition = an evaluated condition
regionInFront(id) // Optional:[id = eventId (value less than 1 or 'p' = player)]
isRegionInFront(r, id) // r = regionId, Optional:[id = eventId (value less than 1 or 'p' = player)]
regionIsInFront(r, id) // r = regionId, Optional:[id = eventId (value less than 1 or 'p' = player)]
setRegionCheckConditon(condition, id) // condition = an evaluated condition, Optional:[id = eventId (value less than 1 or 'p' = player)]
Basic Example:
$gamePlayer.regionInFront() === 3
Status | In development |
Category | Tool |
Author | CT_Bolt |
Download
Click download now to get access to the following files:
Comments
Log in with itch.io to leave a comment.
Thanks for making this plugin—it's been invaluable. There is one thing I'm trying to do right now which is use the regionInFront function within a script within an Autonomous Movement Route, but I can't get it to work. Do you have any advice?