Galv's position script problem.

I found this script: http://galvs-scripts.com/galvs-map-positions/

I managed to install it and got it working.

But somehow I cant find out how to add a event blip.

I have made this in the event. Its a chest with a sprite from a chest:

Spoiler
Naamloos.jpg
But when I open the map with the A key I dont see the sprite of the chest? The code in the script is set to the sprite for the chest. its:

EVENT_LOCATION_MARKERS = 1    # 0 = use a custom picture for all (set below)

                              # 1 = use the event's charset image

  EVENT_IMAGE = "marker2"     # image in /Pictures/ for events if above is 0

 

Spoiler
[Naamloos1.jpg
Change the add_blip(3, 61) to a script call, not a comment. That should work.
I have now this:

Spoiler
Naamloos2.jpg
It doesnt work, I see no chest
Ok now that I've play tested it... I was having the exact same problem, but when I looted the chest it would show up. So I played around with the event a lot and it seems to only recognize it if the event has been triggered...

So for a work around. On page one do an auto run and set a self switch, then on page2 do your chest stuff and set it to work after the 1st pages self switch and let the 3rd page be then cost looted page.
No, its set to 1 so it should use the graphics from the chest charset
The script call creates the blip on the map when it is run. You'll need to create the blips in another event, not the chest event itself.


One example could be to use an autorun event on your map that adds all the blips then removes itself afterward.
Galv can you be more specifick? When I use an autorun nothing works annymore. When I press the A key, nothing happens and the whole game freezes.
You need to remove the autorun event afterward. Such as use a switch or self switch to change the event to a blank page.
I made a event and putted it on page 1 to autorun. With a self switch in the code on off. It inmediatly freezes the game when I come into that map with my player?
I recommend looking up some switch tutorials to learn more about how they are used 🙂
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.
Ok, your right. 😉

I got it working now.

I suggest you alter this description:

#------------------------------------------------------------------------------#

#  In addition to showing the player's location, you can add/remove blips that

#  show event locations to each map using SCRIPT CALLS:

#------------------------------------------------------------------------------#

 

I had no idea what to do.

 

Thanks guys for helping. Great script Galv 🙂
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/galvs-position-script-problem.18264/