A downloadable RPG Maker MV Plugin

Download NowName your own price

 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

Download

Download NowName your own price

Click download now to get access to the following files:

CTB_CheckInFront.js 4 kB

Leave a comment

Log in with itch.io to leave a comment.