Jump to content

Removing quest markers using 'setactive()' in quest scripts


drift123

Recommended Posts

Hi

 

I have been trying to prevent the journal from activating quests on its own, causing quest markers to not be displayed. (I want to play Morrowind-style)

 

To do this I created a simple quest with one objective 'Survive Skyrim' but made it so the quest could not be completed and has no aliases (thus no quest markers). I start the quest via console and leave it activated in my journal, so new quests are not activated by the game, and no quest markers are displayed.

 

The problem is that for certain main quests the papyrus script uses 'setactive()' to activate the quest in the journal and so these new quests are activated regardless of my custom quest.

 

Example:

 

Vanilla game, MQ103, stage 190 uses this script:

 

; player speaks to Farengar
setstage(185)
IntroScene.Stop() ; in case player has dragonstone when he arrives
OutroScene.Stop()
Game.GetPlayer().removeitem(Alias_Dragonstone.GetReference(), 1)
SetObjectiveCompleted (80)
; add achievement
Game.AddAchievement(2)
; start transition scene
MQ104.setstage(10)
MQ104.SetActive()

 

My question is simple - I want to know if the 'setactive()' command in quest scripts will affect anything other than the journal and quest markers. My idea was to simply remove this command from all the quest scripts that use it and compile them again.


So my new modded script would be:

 

; player speaks to Farengar
setstage(185)
IntroScene.Stop() ; in case player has dragonstone when he arrives
OutroScene.Stop()
Game.GetPlayer().removeitem(Alias_Dragonstone.GetReference(), 1)
SetObjectiveCompleted (80)
; add achievement
Game.AddAchievement(2)
; start transition scene
MQ104.setstage(10)
; MQ104.SetActive() (this is disabled)

 

Basically, will removing 'setactive()' break my quests or simply prevent the journal activation and quest markers from being displayed?

 

I really appreciate any help, and I hope this makes sense as I am a complete noob to modding and have limited understanding of scripts.

 

P.S. I know that quest markers can be turned off in Skyrimprefs.ini, the problem is they are still displayed on the local map, which I find annoying.

 

P.S. 2 If you know a better method to completely disable all quest markers (main map AND local map) please let me know.

 

Thanks!

Link to comment
Share on other sites

  • Recently Browsing   0 members

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