Hey, I'm currently using a script which just points to a x,y location on the map. But I want to be able to use it in a more complex way. The script is only able to point to a location on the current map you're on. I want it to be able to point to a location a different map.
How it should/might work:
I would love to thank you for read though to this far and really apricate the facts you are interested in helping.
The Script In Question: https://www.rpgmakercentral.com/topic/4143-tidlocs-compass/
How it should/might work:
- Events used as doors/transfers can be tagged with a exit door tag to read their location(x , y) this is used for caves and in door maps
- Events used as doors/transfers can be tagged with a specific door tag to read their location(x , y) this is used for world maps, towns, open areas.
- if the player is on the same map as location then script works normally
- if the player is on a map with only 1 exit and its not the same map as location then the location will be set to the exit
- if the player is on a map like a town where there's no exits then the script will look for a specific door tag to use that as the location
- script call will be like 3,4,6,"tag" (mapid, x, y, specific tag)
- calling this again should overwrite the old call (so if i was going to the market then changing it to the blacksmith will then lead me to the black smith)
- you are in a house and you get a quest to go to the market
- the script will set final destination to (*market map*, 33, 20) (map, x, y)
- user will assign which specific tag is used for the current final destination
- the script will then scan for a tag on the events if it reads exit tag (which it will since we're in a house) then it will set temporary destination to the location of the exit tag.
- the player then follows the compass the the exit
- the next map is the town where there should be no exit tags, the the script will then scan for the specific tag that matches the one the user assigned for final destination and set temporary destination to the location of the exit tag
- finally the player walking in the door of the market
- now the script sees its now on the same map the final destination and then works normal.
I would love to thank you for read though to this far and really apricate the facts you are interested in helping.
The Script In Question: https://www.rpgmakercentral.com/topic/4143-tidlocs-compass/