I have a weird problem with a map marker.
I made a spell that moves a map marker to the player's current location. Initially, the marker is in a private holding cell, as soon as the player has cast the spell at least once it always sticks around where he last cast it.
This basically works fine, but the problem is that the marker will not show up on the map - unless the player changes to a different worldspace. Once the player has travelled to a different worldspace at least once, the marker will show up on the map just fine.
Here's an example:
- Player stands in Whiterun, casts spell. No marker shows up (it does move, if you check the reference, it just isn't visible).
- Player enters and exits a building, nothing changes.
- Player leaves Whiterun through the main gate, suddenly the map marker is visible in Whiterun.
- Henceforth, casting the spell will immediately move the visible map marker to the player's location.
I tried disabling/enabling the marker, leaving it initially undiscovered and using "AddToMap" after first move, and I tried storing the marker in an exterior location in my private world space instead of an interior holding cell - nothing changes this behavior.
Any suggestions what else I could try?
Ciao, Muh!