Jump to content

Quest Scripting Troubles


jcdenton2012

Recommended Posts

Hello, some of you already know about my problems, and in the meantime I've taken to fixing the audio files on numerous segments of the mod project while I try and get some help, but... ultimately... I'm running out of stuff to tinker with... so, I thought I would ask for help on the forums.

 

The first big hurdle is getting the quest to work. I can't get the game to start on gamemode, and I don't fully understand why. Below I doted down the script being used.

 

scn DallasMainQuestScript00

int DoOnce

Begin GameMode
if DoOnce
Return
EndIf
SetStage DallasMainQuest01 5
Set DoOnce to 1
End

 

 

Any thoughts? This is the first of many problems, but... it is the most important one to fix. Everything else... not so bad.

Link to comment
Share on other sites

Try like this.

scn DallasMainQuestScript00

Short DoOnce

Begin GameMode 

;======= If the mod was not loaded ============
	    if ( DoOnce == 0 )  
                    SetStage DallasMainQuest01 5
                    Set DoOnce to 1
                    StopQuest MyQuestID
;======= If the mod was loaded ============
	        else
                  StopQuest MyQuestID
	    endif
    END

Hope that works :smile:

 

EDIT: You can remove the StopQuest bit under the "mod not loaded" part and change the StopQuest under "mod loaded" part to a Return if you have this script linked to a dialogue quest or whatnot. If you have a quest exclusively set to handle the first load stuff, then leave the StopQuests in to lighten the game load :smile:

Edited by Jokerine
Link to comment
Share on other sites

The quest isn't dialogue based. It's note based... and... still not working either with or without the alterations. Jokerine... it's the exact same project as earlier, the one with the timers that I could never get to work, and finally took a 10 on. :wallbash:

Link to comment
Share on other sites

You have... NO IDEA... how happy I am to hear that offer. (Even after knowing how much I've kinda pestered people over this project and walking away would be totally justifiable)... because scripting is frustrating...

 

In any case I packaged the latest esp, a doc file, and most of the stuff you're going to need to load this on media-fire. I think you will understand my frustrations with this almost completed project when you look at it... I'm trying not to sound ominous... but... kinda hard not to be. :blush:

Link to comment
Share on other sites

  • Recently Browsing   0 members

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