Proximity Events v1.6
|
A wonderful script that let's you have certain conditional branches to check if events are within range of the player or other events, via diamond or rectangle, with line of sight options, and directional options so it's only while they are looking. This lets's you create a wide variety of events like ghosts that disappear when you get closer, or guard that get real mad at you when they find you. You can also set regions for unpassable tiles that do not block line of sight and passable tiles that do block line of sight, as well as a switch that disables all proximity checking while it's ON. And finally a single feature that instead of checking whether player is in range, gives you the distance in tiles between the event and player (or another event).
Change log:
- Version 1.6 - Increased performance and added distance function
- Version 1.1 - 1.5 - ??? /shrug
- Version 1.0 - Created