public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

3 Followers

Need help blocking event line of sight!

BMM_Archive · July 15, 2026

BMM_Archive
Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: Need help blocking event line of sight!
  • Original author: Anti Bow-Tie
  • Original date: February 23, 2014
  • Source thread: https://forums.rpgmakerweb.com/threads/need-help-blocking-event-line-of-sight.24061/
  • Source forum path: Game Development Engines > Ruby Game System (RGSS) Scripts > RGSSx Script Support

Summary

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...

Archived First Post

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): 

HelpTopic1 - 3.jpg

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: 

HelpTopic1 - 1.jpg HelpTopic1 - 2.jpg

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.

Downloads / Referenced Files

RPG Maker Web attachments are mirrored locally when available. Other external links remain hosted by their original creator or third-party service.

  • Local mirror: 4561-2fccd1b1ffa2a51af83449f3fe2edea7.jpg
    SHA-256: b7023b60e2bf80dc78bbde3eaaaa80fdd816c26e1d3aba29073e95a587d3657f
    Original attachment URL: https://forums.rpgmakerweb.com/attachments/helptopic1-3-jpg.11531/
  • Local mirror: 4520-5746a8a2101d68876a0f25798eee8760.jpg
    SHA-256: 8220936532a5bf49baa94bb7b6f88674c528775b43af462fe89e50cf5c52af2e
    Original attachment URL: https://forums.rpgmakerweb.com/attachments/helptopic1-1-jpg.11463/
  • Local mirror: 4521-5625a33f4251828c8fea6e6789e14c36.jpg
    SHA-256: 55e4135a2e45d8c9eb3f8169d15c1ca716bb9d6ede65e5265221afcf75ee11cf
    Original attachment URL: https://forums.rpgmakerweb.com/attachments/helptopic1-2-jpg.11464/

Referenced Images / Attachments

HelpTopic1 - 3.jpg
HelpTopic1 - 3.jpg
HelpTopic1 - 1.jpg
HelpTopic1 - 1.jpg
HelpTopic1 - 2.jpg
HelpTopic1 - 2.jpg
Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

Replies (0)

No replies yet.

0 replies 26 views

Log in to reply.