Quest Events

jupeto

New member
Messages
39
Points
0
Github
jupeto
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

Code:
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;
}
 
Last edited by a moderator:
Back
Top