There are 359 mapmarkers in the game (counted from "Use Info" on the static: MapMarker).
A mapmarker can be disabled using the Function EnableFastTravel(bool abEnable) native (on ObjectReference)
Issues I've thought of:
- If I create a MapMarker array with every mapmarker in it: How do I check if the player is at a specific mapmarker?
- Actor has a nice function: IsInLocation(Location l) - However, there is no garantee that every mapmarker in the game is part of a location (I'd prefer not having to check every single one)
- The "Static-script" contains nothing at all, and there is no way of binding a script to the static: MapMarker (which would be useful in inheriting a mapmarker-script on every single mapmarker-reference)
I'm been pondering this for about a week now. I'm a programmer of profession, but I haven't fiddled with TES modding before.
Maybe it is not possible, however I figured I'd post here to crowdsource a potential solution.
I'd prefer not to having to change every single mapmarker (and surrounding area) by hand - adding triggers etc to each one.
FYI
The above would be part of a bigger mod that disabled mapmarkers when you haven't visited them for a while (and not when you actually visit them).
