Thanks for answer.
So If I understand correctly I should write:
SetObjectiveDisplayed(10)
GSQ01Dantoon.AddToMap()
(GSQ01Dantoon is the refrence editor ID of my mapmarker)
However when I do this I get this:
Starting 1 compile threads for 1 files...
Compiling "QF_GSQ01_0200C4E0"...
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\QF_GSQ01_0200C4E0.psc(59,41): no viable alternative at input 'GSQ01Dantoon'
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\QF_GSQ01_0200C4E0.psc(59,25): script property DungeonMarker already defined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\QF_GSQ01_0200C4E0.psc(59,25): script variable ::DungeonMarker_var already defined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\QF_GSQ01_0200C4E0.psc(59,25): script property DungeonMarker already has a get function defined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\QF_GSQ01_0200C4E0.psc(59,25): script property DungeonMarker already has a set function defined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\QF_GSQ01_0200C4E0.psc(64,25): script property DungeonMarker already defined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\QF_GSQ01_0200C4E0.psc(64,25): script variable ::DungeonMarker_var already defined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\QF_GSQ01_0200C4E0.psc(64,25): script property DungeonMarker already has a get function defined
C:\Program Files (x86)\Steam\steamapps\common\skyrim\Data\Scripts\Source\QF_GSQ01_0200C4E0.psc(64,25): script property DungeonMarker already has a set function defined
No output generated for QF_GSQ01_0200C4E0, compilation failed.
Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on QF_GSQ01_0200C4E0
About the other thing, yeah just want to change the name. So thanks.