Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 12-20-2009, 11:02 AM
songie
Sarnak
 
Join Date: Dec 2009
Posts: 43
Default Quest failure command

Hi, i just recently got working on a server but my quests won't be the kind of that you just complete and go on happely knowing you finished it the right way.

Ive been looking for it but as there is a quest::assigntask is there a command that deletes the task ? in effect making it fail ?

Because idd like to get some quests in there that mean something when you fail them ...and once failed would prevent you from taking it ever again.
Reply With Quote
  #2  
Old 12-20-2009, 12:38 PM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

There is a quest::failtask(taskid) command. This will display the red task failed message and remove the task from the player's active tasks.

Although there is an 'Is Repeatable' column in the task table, this only prevents the player being offered the task again if they previously completed it.

To do what you want, i.e. not offer the player the task if they previously failed it, then you are probably going to have to use Quest Globals (QGlobals) to set a flag if they fail the task which you can check before you offer it them again.

I can't offer you any advice on QGlobals as I've never actually used them, but you could try searching the forums or the wiki for some examples on their use, or just post back if you can't figure it out and no doubt one of the quest gurus can offer some advice.
Reply With Quote
  #3  
Old 12-20-2009, 03:13 PM
songie
Sarnak
 
Join Date: Dec 2009
Posts: 43
Default

thanks, that was what i needed.

I dont think i will need the globals because if they fail the task it will give them a new task and i will most likely be having the npc's check on what part of the quests they are on. if they are on one of the failed quest follow ups they wont be able to retake it.

sortof gonna do a complicated multipart questline good/evil that is intertwined and the possibility to lean one way or the other trough your actions.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 02:47 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3