dynamic compass script

Hello.

I'm needing a script again. Maybe someone helps me out?

Naturally i will give credits.

Ok, here is, waht i need:

A Compass Script, that shows the approximately direction of a specified Event (8-directions is enough) with a picture, shown in the upper right of the screen. I prefer a change-picture soulution over a rotate-picture solution, because the picture rotate mechanism of the maker is rather meh.

I know, that Tidloc has made a Compass-Script a while ago, but his scripts gets the Compass-coordinates from a script call. The Script i'm needing is a little bit more complex.

1. I have to get the compass coordinates from variables, because the event i want to point at is moveable, so the script must be able to change the Compass-Picture after every movement of the player OR the target-Event.

2. The ID of the Event i want to point at, is different on every map. The script must be able, to identify the Event to point at, on the base of a Comment in the Event-Contents.

3. The script must be able to be switched on or off with a switch.

I hope for help 🙂
OOOH< I want one too.
because the picture rotate mechanism of the maker is rather meh.
Really? I find the rotate picture command to be great! It doesn't set it to a certain rotation - it tells how much to rotate it by each frame. For the purposes I'm using it, a script couldn't do any better.


What do you mean "get the compass coordinates from variables"? Are you giving it the coordinates to point to, or are you telling it an event id? Or the compass coordinates to indicate where to place it on the screen?


I think you can do all of this with a common event. I don't think you need scripts for any of it.
Hi Shaz.

The Problem is not the function, it's the optic. If i take a picture in a low resolution and rotate it, it's end up as a mash of pixels. I don't like this. Different pictures look much better, than one single picture wich is rotated in the maker.

The Point, why i'm needing a script, is that the maker is not able to mark a special event with a pointer or else. If i had to use a Common Event, i had to know the event's ID. But because of the worse, automatic distribution of Event ID's, for my use, the Event-ID is simply unsuitable.

Look, the maker did not even allow me, to block Event ID's (like EV010 to EV020) for later use. If i Want to block Event-ID's global, i had to place empty Events on every Map ... that's a terrible design. I can't work with the Event-ID on different maps, if i'm not able to set the Event-IDs by myself. I can't get a Event-ID into a Variable, and i can't use, a Variable-Value as a pointer to identify an other Variable or Event.

At least i'm needing a pointer, which allows me, to check the actual active Event Pages on the Map for a special Comment-Tag, so the Common Event could identify the Event, from which it had to get the coordinates.

Original thread: https://forums.rpgmakerweb.com/threads/dynamic-compass-script.26337/