Jump to content

Mod idea re: map markers


csbx

Recommended Posts

I'm interested in making a tiny mod that does the following after a map marker is added to the map because of npc dialogue or from reading book:

 

1) the map (optionally) opens up and zooms / moves to that location

2) the marker for that location is highlighted in some way (not as important)

 

Instead of running some script that constantly checks if one of these locations have been added (an unacceptable approach), I have been trying to think of ways to initiate a script only when they have been added. My modding knowledge is limited and I don't see a way. If it happened to be that markers added to the map were just objects that were suddenly enabled from a disabled state, I could have set an object to have the markers for all of those locations as enable parents. The script in my mod would run on the object to which it is attached when enabled, then disable itself.

 

But things obviously aren't this simple. How can I 'catch' the event of one of these special location markers opening up using

markerref.GetMapMarkerVisible == 1

or something similar ?

 

Note: I want to avoid requiring SKSE if possible.

Link to comment
Share on other sites

The events "OnCellLoad" and "OnActivate" might detect when entering a cell or activating a map marker, but going from detecting the event to loading the map UI and moving the camera... Well, I don't think anyone has ever modded that before. I know you can move the camera on the map by selecting goals in the journal. You might start there.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...