MZ Togglable quest pointer

I was wondering if there was a script that can point the player towards quest objectives

Not all quest objectives mind you. Like, if a charecter knows where to go, an arrow points to the quest objective. but if the charecter is in some wierd place they've never been before, and is trying to find there way out, no pointers on where to go except maybe contex clues, landmarks, enviornment, ect

Afterthought: I did the title last, and an idea came to me, maybe the quest pointer is toggleable by the player, except for the few instances where even the charecters in the game have no idea where there going
EDIT: Dang, I just saw that this is for RMMZ, so forget about option A.

Two ideas:

A- Check Olivia's Proximity Compass plugin. It's not free and the code is encrypted so your options will be very limited.


B- Do it yourself. If you can find a way to get an event look in a direction of another event, I think this is doable. The way I would approach it is this:

1- Create a Direction event, with a character set like this (the picture would have to be quite large)
1608072341699.png


2- Place event as a waypoint, near your destination

3- Relocate the Direction event atop of the player, every time they move

4- Set the look direction of the direction event, using the plugin that makes an event look in the direction of an other event (one of the waypoint). It would look like this below (blue square to show how big the direction waypoint would have to be) and WP below the old man is the waypoint


1608072654517.png
And what if the charecter is diagonal from the objective?
If you need diagonals, then I think the best would be to slap an image layer on top of the screen and rotate that image to point at the direction. My trigonometry classes are years behind, but I'm pretty sure you can find the formula by searching something like "calculate angle from 2 points".

Edit: this should get you on the right track:



Use the angleDeg to rotate your picture
Thanks. The first "quest" in my game has a charecter go to another charecters house in the starting town because they're late for a mission briefing

It wouldn't make sense to have the charecter wandering aimlessly around looking for the house, sense they know eachother and both live in the same town. that's ok if it's the players choice, but it wouldn't be very immersive if the player HAD to wander around looking for the objective point

This will help with that, thank you

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/togglable-quest-pointer.131043/