Jump to content

DOWNLOAD MODS

Are you looking for something shiny for your load order? We have many exclusive mods and resources you won't find anywhere else. Start your search now...

LEARN MODDING

Ready to try your hand at making your own mod creations? Visit the Enclave, the original ES/FO modding school, and learn the tricks of the trade from veteran modders...

JOIN THE ALLIANCE

Membership is free and registering unlocks image galleries, project hosting, live chat, unlimited downloads, & more...

Checking Stage Done Not Working


LegendofThunder
 Share

Recommended Posts

Hi Guys,

 

Gone over a fair amount of coding regulars to get this to work and I can't seem to. Basically, I want to check if a stage is done, an objective is done and the base item. All these are relative to the OnItemAdded function.

 

This is my code:

if !pLOT01Quest.IsStageDone(10)
        Debug.MessageBox("StageIsNotDone")
        if pLOT01Quest.IsObjectiveCompleted(10) == false
            Debug.MessageBox("ObjectiveNotComplete")
            if akBaseItem == pAbeceanLongfin
                Debug.MessageBox("Abecean Longfin")
                pLOT01QS.ingCount(pAbeceanLongfin, 10, 3, 0)
            endif
        endif
    endif

 

I've tried:

if !pLOT01Quest.IsStageDone(10)
if pLOT01Quest.IsStageDone(10) == 0
if pLOT01Quest.IsStageDone(10) == false

And I can't get the message box saying "StageIsNotDone" to appear when I pick up an item, in this instance is it an Abecean Longfin.

 

Any help would be appreciated, I've used the FreeFormRiften04 quest as my base for this.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...