Hi there, first post here.
I'm working on a project featuring a line of sight-function for events. I tried going about this with switches and variables and ended up with lots of parallel processes containing lengths upon lengths of conditional branches, causing lag as well as general madness on my part.
So I stumbled upon this:Â
http://forums.rpgmakerweb.com/index.php?/topic/3452-direction-based-line-of-sight-events/Â , and appliedÂ
2) Basic Line of Sight Event to the monsters roaming my maps. It's so simple and it works like a charm, kudos toÂ
The Infamous Bon Bon!
This is my Event (script is written out in comments):Â
Protected download
Self Switch A activates pg.2, the event's chase mode.
I'm looking for a similarly intuitive way to block the line of sight of an event if there's a certain region ID assigned to one of the tiles in between the player and the event.
Explanatory graphics:Â
Protected downloadÂ
Protected download
I've tried rifling through some advanced stealth scripts available online, but I can't seem to make sense out of the relevant parts of them.
Grateful for any tips or pointers toward older topics regarding this problem, or corrections if I'm somehow misbehaving in accordance to the forum rules.
Peace out!
EDIT: swapped the first image (event page) for a better one.