Jump to content
  • 0

Giving quests in an inactive state.


integral

Question


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  167
  • Reputation:   4
  • Joined:  02/01/12
  • Last Seen:  

How do you give a quest in which the state is "inactive"?

 

I know about the setquest command, but the given state of the quest is active according to the script_commands.txt.

Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  318
  • Reputation:   54
  • Joined:  12/23/12
  • Last Seen:  

Doesn't right clicking the quest in the quest window, make it inactive, but still on the list.?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  167
  • Reputation:   4
  • Joined:  02/01/12
  • Last Seen:  

Oh, so when someone right-clicked a quest in their quest window, it will immediately read by the NPC as "inactive"? 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  318
  • Reputation:   54
  • Joined:  12/23/12
  • Last Seen:  

Well I am not fully sure, But what I do know is, there is an active, and inactive tab on the quest window.

 

 

Looking further into the matter...

There is also these CheckQuest statements implemented that you can use :

 

 

    -1 = Quest not started (not in quest log)
    0  = Quest has been given, but the state is "inactive"
    1  = Quest has been given, and the state is "active"
    2  = Quest completed

 

 

Examining these few lines, you can pressume the use of   if (  checkquest (1234) == 0 ) { the quest is inactive } 
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  167
  • Reputation:   4
  • Joined:  02/01/12
  • Last Seen:  

Well I am not fully sure, But what I do know is, there is an active, and inactive tab on the quest window.

 

 

Looking further into the matter...

There is also these CheckQuest statements implemented that you can use :

 

 

    -1 = Quest not started (not in quest log)
    0  = Quest has been given, but the state is "inactive"
    1  = Quest has been given, and the state is "active"
    2  = Quest completed

 

 

Examining these few lines, you can pressume the use of   if (  checkquest (1234) == 0 ) { the quest is inactive } 

 

 

So in other words, only the player has the access in making the quest "inactive". And the only option that an NPC have with regards to inactive quests is checking it. Is that right?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  318
  • Reputation:   54
  • Joined:  12/23/12
  • Last Seen:  

It seems that way, 

 

- Only players can set their quests to active or inactive state.
- NPC's can only use the checkquest to see if the quest is inactive or active state.

 

There could be another way, but this is as far as I know.

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.

Guest
Answer this question...

×   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.

×
×
  • Create New...