[RGSS3] Galv Encounter Pointer

Hi, this is a neat script that alerts you to the next random encounter with a pointer over the player's sprite:
Spoiler: Galv Encounter Pointer
encounter-pointer1_zps3a3b56f6.jpg

Spoiler: Galv Encounter Pointer Script

This script works just fine under normal circumstances. Kudos to Galv for making such an excellent script!

However, for aesthetic reasons alone, I would also like it to work when I turn the Player Transparency ON in the database.

By default, when the player transparency is turned ON, the pointer simply disappears as well!
I know that the pointer is coded to appear only when the player sprite is visible, but is there a quick fix to let the pointer still exist and function over the unseeable player when they are moving along the overworld map?
As a developer I know that the player is still there on the map despite the transparency being ON, but I'd like the pointer to still function despite that.
is there a quick fix
yes. The script sets the image to be visible when the player sprite is visible, as you have discovered.
Line 161 does this.
change it to say self.visible = true
It works! Thanks!

That solves the player's problem.
Though I wonder how to place this same pointer over the top of other events like treasure chests or NPCs (which move on the map).
It's kind of like I'd want some buried treasure event's icon to be unseeable to the player normally BUT to be indicated only by this pointer.
It's not like the events need their pointer to change color like the player's one does, just a blinking pointer over the event to let the player know that there is something hidden moving around the map... like a hidden giant worm enemy NPC whom the player can only avoid by running away from the blinking Galv pointer! :uswt:
Though I wonder how to place this same pointer over the top of other events like treasure chests or NPCs (which move on the map).
That's going to be a different script altogether. You might as well as create a new thread for this.
I guess we can discuss that here: Script Request
It works! Thanks
Alternatively if you want the image to not show for whatever reason, you could use a switch.
Haven't tested but self.visible = $game_switches[X]
If you did a cutscene or something, the indicator image would be undesired in the scene.

Original thread: https://forums.rpgmakerweb.com/threads/rgss3-galv-encounter-pointer.119768/