I've been trying to activate a map marker after some dialogue has been finished. Using the following lines.
MapMarker.AddToMap()GetOwningQuest().SetObjectiveDisplayed(10)GetOwningQuest().SetStage(10)
But if I compile I get this warning
Starting 1 compile threads for 1 files...Compiling "TIF__0302D4B0"...c:\program files (x86)\steam\steamapps\common\skyrim\Data\Scripts\Source\temp\TIF__0302D4B0.psc(9,0): variable MapMarker is undefinedc:\program files (x86)\steam\steamapps\common\skyrim\Data\Scripts\Source\temp\TIF__0302D4B0.psc(9,10): none is not a known user-defined typeNo output generated for TIF__0302D4B0, compilation failed.Batch compile of 1 files finished. 0 succeeded, 1 failed.Failed on TIF__0302D4B0
I have tried to set up a ObjectReference but I think I might have gone wrong there. In the Quest itself in the tab scripts, I have a script named zzQCourierVigilant (Wich is exactly the same as the name of the quest) wich has Property named MapMarker wich 'extends quest' with property type ObjectReference. And I have selected the map marker I wanted to activate with it.
That's all I have done. What am I missing here and what could I possibly do to fix this?
Thanks in advance!
- Rehn