Jump to content
  • 0
Sign in to follow this  
jupeto

Quest Events

Question

Code below stacks the mark icon of exclamation and question mark, the exclamation mark doesn't cleared by the QTYPE_NONE event

 

 

but without showevent(QTYPE_QUEST2,1);, the script removes the mark icon... what I want to achieve here is that the exclamation mark must be replaced by a question mark icon to indicate that the player still has some quest for that npc and that they need to accept it to proceed...

prontera,xxx,xxx,x	script	NPC1::npc1	4_EP16_LOUVIERE,{
    doevent("npc2::OnShowQuest");
}

prontera,xxx,xxx,x	script	NPC2::npc2	4_EP16_LOUVIERE,{
    showevent(QTYPE_NONE);
    showevent(QTYPE_QUEST2,1);
    end;

OnShowQuest:
    showevent(QTYPE_QUEST,1);
    end;

OnHideQuest:
    showevent(QTYPE_NONE);
    end;
}

 

Please enlighten me... thanks

[EDIT]

 

well I guess sleep2(1); did the job

 

prontera,xxx,xxx,x	script	NPC1::npc1	4_EP16_LOUVIERE,{
    doevent("npc2::OnShowQuest");
}

prontera,xxx,xxx,x	script	NPC2::npc2	4_EP16_LOUVIERE,{
    showevent(QTYPE_NONE);
    sleep2(1); // <------ this did the job, but is this the right thing to do?
    showevent(QTYPE_QUEST2,1);
    end;

OnShowQuest:
    showevent(QTYPE_QUEST,1);
    end;

OnHideQuest:
    showevent(QTYPE_NONE);
    end;
}
Edited by jupeto

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.