Jump to content
  • 0

quest script help


cadz

Question


  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.02
  • Content Count:  243
  • Reputation:   1
  • Joined:  08/29/12
  • Last Seen:  

good day everyone.. anyone can help me for my script like new style of quest thanks a lot...

here is the file almost done but something thanks in advance.

my problem is when monster died another npc should appear. anyone please...

remove this thanks i think im in the wrong section. sorry mods

good day everyone.. anyone can help me for my script like new style of quest thanks a lot...

here is the file almost done but something thanks in advance.

my problem is when monster died another npc should appear. anyone please...

- script drag#disable -1,{
OnInit: disablenpc "cadz";
end;
}
prontera,151,193,5 script Dragon's Maiden 872,{
set .npcName$,"Violet";
if (BaseLevel >= 98)
goto We;
else goto Sorry;

We:
mes "["+.npcName$+"]"; mes "Hello..."; mes "My name is violet";
mes "I am the keeper of the Dragon's key";
mes "If you want to be the next Dragon Slayer";
mes " There are certain items that i'll be requesting";
next;
mes "["+.npcName$+"]"; mes "So you want to know everything?";
mes "But first you need prove me to that your the one";
next; mes "["+.npcName$+"]"; mes "do you still want to continue?";
mes "there's is turning back now...";
menu "I want to Start",L_Start,"Sorry im scared",L_End;{
L_Start:
mes "["+.npcName$+"]";
next;
mes "Okay lets go!";
next; warp "2@pump",0,0;
goto aa;
aa:
sleep2 10000;
mapannounce "2@pump","Violet: Okay we are in the Dragon's dungeon",0;
sleep2 10000;
mapannounce "2@pump","Violet: Don't forget to autoloot",0;
sleep2 10000;
mapannounce "2@pump","Violet: Those mobs drop will be the key to make the items for you",0;
sleep2 10000;
mapannounce "2@pump","Violet: Kill the all dragons!",0;
monster "2@pump",0,0,"Draco",2013,10,"cadz::OnMyMobDead";
set .MyMobs,.MyMobs-1;
if (.MyMobs < 1)
donpcevent "cadz::OnEnable";
stopnpctimer;
end;
}
L_End:
mes "["+.npcName$+"]";
mes "oh okay God be with you";
close;
sorry:
mes "["+.npcName$+"]";
mes "Im Sorry your still weak";
mes "Comeback again if your have the Blue Aura of Strenth!";
close;

2@pump,52,99,6 script cadz 56,{
set .npcName$,"Cadz";
OnMyMobDead:
mes "["+.npcName$+"]";
mes "What are you doing at the dungeon?.";
mes "How could you kill all those dragons by your self?.";
mes "Your strong!."; mes "Now you can be the next dragon slayer!";
next;
set .npcName$,"Cadz";
mes "I the dragon slayer! i baptize ^0000FF"+strcharinfo(0)+"^000000.";
specialeffect 40;
next;
mes "["+.npcName$+"]"; mes "By the power of Ragnarok Online!";
specialeffect 89; next; mes "["+.npcName$+"]";
mes "You will be the next Dragon SLLLAAAYYYEERRR!!!!!";
specialeffect 158;
getitem 607,1;
next;
mes "["+.npcName$+"]";
mes "Now go! dragon slayer protect the Ragnarok World!";
next; warp "prontera",150,150;
close;
}

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

monster "<map>",<x>,<y>,"<NAME>",<mobID>,<amount>,"NPCNAME::OnLabel";
.....
....
......
OnLabel:
enablenpc "npcname";
end;

refer monster / disablenpc / enablenpc

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.02
  • Content Count:  243
  • Reputation:   1
  • Joined:  08/29/12
  • Last Seen:  

thanks a lot for listening to my msg =) i will test now =)

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