Jump to content
  • 0

certain player can do the quest and certain player cant do


Question

Posted

//Thread Merchant ------
alberta,65,123,6 script Man#dbq 85,{
if(DANZO_QUEST == 3 && $@beardMobD) goto L_KILLED;
if(DANZO_QUEST > 3) goto L_DONE;
mes "[Thread Merchant]";
mes "ARGGG!! I can never get my stuff to Al de Baran!";
mes "I keep getting mobbed by some bugs.";
mes "They steal all my supplies and ^8080FFThread^000000.";
next;
mes "[Thread Merchant]";
if(DANZO_QUEST != 3) mes "What am I to do?";
if(DANZO_QUEST != 3) close;
if($@danzomob > 0) mes "Kill! Kill them already!!!";
if($@danzomob > 0) close;
mes "Are you here to help me?";
emotion 1;
next;
menu "Yes",-,"No",M_NO;
mes "[Thread Merchant]";
mes "Oh thank the Gods!";
mes "If you can only just kill the bugs I would be able to make my delivery.";
next;
mes "[Thread Merchant]";
mes "Oh NO! Here they come!!";
emotion 19;
donpcevent "BRDQ_MOBS::OnStart";
close;
L_KILLED:
set $@danzoMobD,0;
mes "[Thread Merchant]";
mes "Thank you for killing the Thief Bugs.";
mes "As a token of my gratitude here is a box full of ^8080FFThread^000000.";
set DANZO_QUEST,4;
close;
L_DONE:
mes "[Thread Merchant]";
mes "Thank you again!";
emotion 15;
close;
M_NO:
mes "[Thread Merchant]";
mes "What to do...";
close;
}
//mobsummons -------
alberta,1,1,1 script BRDQ_MOBS -1,{
OnStart:
set $@danzoMob,10;
set $@danzoMobD,0;
monster "alberta",65,120,"Thef Bug Male",1054,1,"BRDQ_MOBS::OnDie";
monster "alberta",66,120,"Thef Bug Male",1054,1,"BRDQ_MOBS::OnDie";
monster "alberta",67,120,"Thef Bug Male",1054,1,"BRDQ_MOBS::OnDie";
monster "alberta",68,120,"Thef Bug Male",1054,1,"BRDQ_MOBS::OnDie";
monster "alberta",66,121,"Thef Bug Male",1054,1,"BRDQ_MOBS::OnDie";
monster "alberta",67,121,"Thef Bug Male",1054,1,"BRDQ_MOBS::OnDie";
monster "alberta",68,121,"Thef Bug Male",1054,1,"BRDQ_MOBS::OnDie";
monster "alberta",66,122,"Thef Bug Male",1054,1,"BRDQ_MOBS::OnDie";
monster "alberta",67,122,"Thef Bug Male",1054,1,"BRDQ_MOBS::OnDie";
monster "alberta",68,122,"Thef Bug Male",1054,1,"BRDQ_MOBS::OnDie";
end;
OnDie:
set $@beardmob, $@beardmob - 1;
if($@beardmob > 0) end;
set $@beardMobD,1;
end;
On1201:
On0001:
set $@beardMob,0;
set $@beardMobD,0;
end;
}

have player do this quest got kill the mob,

and got others cant,and npc say

L_DONE:
mes "[Thread Merchant]";
mes "Thank you again!";
emotion 15;
close;

4 answers to this question

Recommended Posts

Posted

You're having this problem because, your using a global variable to confirm a kill and count down. You need to change that to a player variable so that only the player doing the quest is affected. I'm only giving this bit of information because it's a support topic. I'm assuming you want to learn.

Posted

You're having this problem because, your using a global variable to confirm a kill and count down. You need to change that to a player variable so that only the player doing the quest is affected. I'm only giving this bit of information because it's a support topic. I'm assuming you want to learn.

ya,so how to do it ?

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...